home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Eccentric Dream
/
Eccentric Dream.iso
/
Omake-13inch
/
Omake-13inch.rsrc
/
CODE_11513_Main.txt
< prev
next >
Wrap
Text File
|
1993-07-10
|
299KB
|
5,431 lines
# near model CODE resource
# jump table entries: 0-152 (153 of them)
00000000 202F 0008 move.l D0, [A7 + 0x8]
00000004 0800 0007 btst.b D0, 0x7
00000008 6706 beq +0x8 /* 00000010 */
0000000A 2F57 0008 move.l [A7 + 0x8], [A7]
0000000E 508F addq.l A7, 8
label00000010:
00000010 E048 lsr D0.w, 8
00000012 E548 lsl D0.w, 2
00000014 41FA 0006 lea.l A0, [PC + 0x6 /* 0000001C, value 0x4EFA1872 */]
00000018 4EF0 0000 jmp [A0 + D0.w]
0000001C 4EFA 1872 jmp [PC + 0x1872 /* 00001890 */]
00000020 4EFA 1A92 jmp [PC + 0x1A92 /* 00001AB4 */]
00000024 4EFA 1AF0 jmp [PC + 0x1AF0 /* 00001B16 */]
00000028 4EFA 1CEC jmp [PC + 0x1CEC /* 00001D16 */]
0000002C 4EED 125A jmp [A5 + 0x125A /* export_583 */]
00000030 4EFA 1C9C jmp [PC + 0x1C9C /* 00001CCE */]
00000034 4EED 19BA jmp [A5 + 0x19BA /* export_819 */]
00000038 4EED 19C2 jmp [A5 + 0x19C2 /* export_820 */]
0000003C 4EED 19D2 jmp [A5 + 0x19D2 /* export_822 */]
00000040 4EED 19DA jmp [A5 + 0x19DA /* export_823 */]
00000044 4EED 19E2 jmp [A5 + 0x19E2 /* export_824 */]
00000048 4EED 19EA jmp [A5 + 0x19EA /* export_825 */]
0000004C 4EED 19F2 jmp [A5 + 0x19F2 /* export_826 */]
00000050 4EED 19FA jmp [A5 + 0x19FA /* export_827 */]
00000054 4EED 1A02 jmp [A5 + 0x1A02 /* export_828 */]
00000058 4EED 17E2 jmp [A5 + 0x17E2 /* export_760 */]
0000005C 4EFA 1C92 jmp [PC + 0x1C92 /* 00001CF0 */]
00000060 4EED 195A jmp [A5 + 0x195A /* export_807 */]
00000064 4EED 1962 jmp [A5 + 0x1962 /* export_808 */]
00000068 4EED 196A jmp [A5 + 0x196A /* export_809 */]
fn0000006C:
0000006C 4E56 FFEE link A6, -0x0012
00000070 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
00000074 4246 clr.w D6
00000076 42A7 clr.l -[A7]
00000078 2F3C 434F 4445 move.l -[A7], 0x434F4445 /* 'CODE' */
0000007E 3F2E 0008 move.w -[A7], [A6 + 0x8]
00000082 A9A0 syscall GetResource
00000084 265F movea.l A3, [A7]+
00000086 200B move.l D0, A3
00000088 6606 bne +0x8 /* 00000090 */
0000008A 7C01 moveq.l D6, 0x01
0000008C 6000 0082 bra +0x84 /* 00000110 */
label00000090:
00000090 4EBA 1E78 jsr [PC + 0x1E78 /* 00001F0A */]
00000094 2E00 move.l D7, D0
00000096 42A7 clr.l -[A7]
00000098 2053 movea.l A0, [A3]
0000009A 2028 0008 move.l D0, [A0 + 0x8]
0000009E D087 add.l D0, D7
000000A0 2F00 move.l -[A7], D0
000000A2 4EBA 2112 jsr [PC + 0x2112 /* 000021B6 */]
000000A6 285F movea.l A4, [A7]+
000000A8 4267 clr.w -[A7]
000000AA 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
000000AE 3C1F move.w D6, [A7]+
000000B0 665E bne +0x60 /* 00000110 */
000000B2 2F0C move.l -[A7], A4
000000B4 205F movea.l A0, [A7]+
000000B6 A064 syscall MoveHHi
000000B8 2F0C move.l -[A7], A4
000000BA 205F movea.l A0, [A7]+
000000BC A029 syscall HLock
000000BE 42A7 clr.l -[A7]
000000C0 2F0C move.l -[A7], A4
000000C2 4EBA 306E jsr [PC + 0x306E /* 00003132 */]
000000C6 285F movea.l A4, [A7]+
000000C8 2007 move.l D0, D7
000000CA D094 add.l D0, [A4]
000000CC 7220 moveq.l D1, 0x20
000000CE 9081 sub.l D0, D1
000000D0 2F00 move.l -[A7], D0
000000D2 4EBA 1E42 jsr [PC + 0x1E42 /* 00001F16 */]
000000D6 588F addq.l A7, 4
000000D8 2053 movea.l A0, [A3]
000000DA 4868 0010 pea.l [A0 + 0x10]
000000DE 2007 move.l D0, D7
000000E0 D094 add.l D0, [A4]
000000E2 2F00 move.l -[A7], D0
000000E4 2F28 0008 move.l -[A7], [A0 + 0x8]
000000E8 4EBA 2102 jsr [PC + 0x2102 /* 000021EC */]
000000EC 206E 000E movea.l A0, [A6 + 0xE]
000000F0 208C move.l [A0], A4
000000F2 2007 move.l D0, D7
000000F4 D094 add.l D0, [A4]
000000F6 7220 moveq.l D1, 0x20
000000F8 9081 sub.l D0, D1
000000FA 206E 000A movea.l A0, [A6 + 0xA]
000000FE 2080 move.l [A0], D0
00000100 42A7 clr.l -[A7]
00000102 206E 000A movea.l A0, [A6 + 0xA]
00000106 2F10 move.l -[A7], [A0]
00000108 2F4D 0004 move.l [A7 + 0x4], A5
0000010C 2A5F movea.l A5, [A7]+
0000010E 2A1F move.l D5, [A7]+
label00000110:
00000110 3D46 0012 move.w [A6 + 0x12], D6
00000114 4CDF 18E0 movem.l D5,D6,D7,A3,A4, [A7]+
00000118 4E5E unlink A6
0000011A 205F movea.l A0, [A7]+
0000011C DEFC 000A add.w A7, 0xA /* '\n' */
00000120 4ED0 jmp [A0]
fn00000122:
00000122 4E56 0000 link A6, 0
00000126 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000012A 205F movea.l A0, [A7]+
0000012C A023 syscall DisposHandle/DisposeHandle
0000012E 4E5E unlink A6
00000130 2E9F move.l [A7], [A7]+
00000132 4E75 rts
00000134 4E56 FED6 link A6, -0x012A
00000138 48E7 0308 movem.l -[A7], D6,D7,A4
0000013C 49EE FEF0 lea.l A4, [A6 - 0x110]
00000140 206E 0010 movea.l A0, [A6 + 0x10]
00000144 43EE FFF0 lea.l A1, [A6 - 0x10]
00000148 22D8 move.l [A1]+, [A0]+
0000014A 22D8 move.l [A1]+, [A0]+
0000014C 206E 000C movea.l A0, [A6 + 0xC]
00000150 43EE FFF8 lea.l A1, [A6 - 0x8]
00000154 22D8 move.l [A1]+, [A0]+
00000156 22D8 move.l [A1]+, [A0]+
00000158 4206 clr.b D6
0000015A 426E FEE2 clr.w [A6 - 0x11E]
0000015E 558F subq.l A7, 2
00000160 486E FFF0 pea.l [A6 - 0x10]
00000164 2F3C 2D2D 2D2D move.l -[A7], 0x2D2D2D2D /* '----' */
0000016A 2F3C 6C69 7374 move.l -[A7], 0x6C697374 /* 'list' */
00000170 486E FED6 pea.l [A6 - 0x12A]
00000174 303C 0812 move.w D0, 0x812
00000178 A816 syscall Pack8
0000017A 3E1F move.w D7, [A7]+
0000017C 6708 beq +0xA /* 00000186 */
0000017E 3D47 0014 move.w [A6 + 0x14], D7
00000182 6000 00A8 bra +0xAA /* 0000022C */
label00000186:
00000186 558F subq.l A7, 2
00000188 486E FED6 pea.l [A6 - 0x12A]
0000018C 7001 moveq.l D0, 0x01
0000018E 2F00 move.l -[A7], D0
00000190 2F3C 5445 5854 move.l -[A7], 0x54455854 /* 'TEXT' */
00000196 486E FEDE pea.l [A6 - 0x122]
0000019A 486E FEE4 pea.l [A6 - 0x11C]
0000019E 303C 0A0B move.w D0, 0xA0B
000001A2 A816 syscall Pack8
000001A4 3E1F move.w D7, [A7]+
000001A6 6666 bne +0x68 /* 0000020E */
000001A8 2D6E FEE8 FEEC move.l [A6 - 0x114], [A6 - 0x118]
000001AE 558F subq.l A7, 2
000001B0 486E FEEC pea.l [A6 - 0x114]
000001B4 4EBA 2770 jsr [PC + 0x2770 /* 00002926 */]
000001B8 3E1F move.w D7, [A7]+
000001BA 558F subq.l A7, 2
000001BC 486E FEE4 pea.l [A6 - 0x11C]
000001C0 303C 0204 move.w D0, 0x204
000001C4 A816 syscall Pack8
000001C6 4A47 tst.w D7
000001C8 544F addq.w A7, 2
000001CA 6642 bne +0x44 /* 0000020E */
000001CC 2F2E FEEC move.l -[A7], [A6 - 0x114]
000001D0 1F06 move.b -[A7], D6
000001D2 70FF moveq.l D0, 0xFFFFFFFF
000001D4 3F00 move.w -[A7], D0
000001D6 4EAD 086A jsr [A5 + 0x86A /* export_265 */]
000001DA 486E FEE2 pea.l [A6 - 0x11E]
000001DE 2F0C move.l -[A7], A4
000001E0 4EAD 0742 jsr [A5 + 0x742 /* export_228 */]
000001E4 4A6E FEE2 tst.w [A6 - 0x11E]
000001E8 6724 beq +0x26 /* 0000020E */
000001EA 558F subq.l A7, 2
000001EC 486E FFF8 pea.l [A6 - 0x8]
000001F0 2F3C 6572 7273 move.l -[A7], 0x65727273 /* 'errs' */
000001F6 2F3C 5445 5854 move.l -[A7], 0x54455854 /* 'TEXT' */
000001FC 486C 0001 pea.l [A4 + 0x1]
00000200 7000 moveq.l D0, 0x00
00000202 1014 move.b D0, [A4]
00000204 2F00 move.l -[A7], D0
00000206 303C 0A0F move.w D0, 0xA0F
0000020A A816 syscall Pack8
0000020C 544F addq.w A7, 2
label0000020E:
0000020E 558F subq.l A7, 2
00000210 486E FED6 pea.l [A6 - 0x12A]
00000214 303C 0204 move.w D0, 0x204
00000218 A816 syscall Pack8
0000021A 4A6E FEE2 tst.w [A6 - 0x11E]
0000021E 544F addq.w A7, 2
00000220 6604 bne +0x6 /* 00000226 */
00000222 3D47 FEE2 move.w [A6 - 0x11E], D7
label00000226:
00000226 3D6E FEE2 0014 move.w [A6 + 0x14], [A6 - 0x11E]
label0000022C:
0000022C 4CEE 10C0 FECA movem.l D6,D7,A4, [A6 - 0x136]
00000232 4E5E unlink A6
00000234 205F movea.l A0, [A7]+
00000236 4FEF 000C lea.l A7, [A7 + 0xC]
0000023A 4ED0 jmp [A0]
0000023C 4E56 FED2 link A6, -0x012E
00000240 48E7 0118 movem.l -[A7], D7,A3,A4
00000244 47EE FEF0 lea.l A3, [A6 - 0x110]
00000248 206E 0010 movea.l A0, [A6 + 0x10]
0000024C 43EE FFF0 lea.l A1, [A6 - 0x10]
00000250 22D8 move.l [A1]+, [A0]+
00000252 22D8 move.l [A1]+, [A0]+
00000254 206E 000C movea.l A0, [A6 + 0xC]
00000258 43EE FFF8 lea.l A1, [A6 - 0x8]
0000025C 22D8 move.l [A1]+, [A0]+
0000025E 22D8 move.l [A1]+, [A0]+
00000260 426E FEDE clr.w [A6 - 0x122]
00000264 558F subq.l A7, 2
00000266 486E FFF0 pea.l [A6 - 0x10]
0000026A 2F3C 2D2D 2D2D move.l -[A7], 0x2D2D2D2D /* '----' */
00000270 2F3C 6C69 7374 move.l -[A7], 0x6C697374 /* 'list' */
00000276 486E FED2 pea.l [A6 - 0x12E]
0000027A 303C 0812 move.w D0, 0x812
0000027E A816 syscall Pack8
00000280 3E1F move.w D7, [A7]+
00000282 6708 beq +0xA /* 0000028C */
00000284 3D47 0014 move.w [A6 + 0x14], D7
00000288 6000 00B8 bra +0xBA /* 00000342 */
label0000028C:
0000028C 558F subq.l A7, 2
0000028E 486E FED2 pea.l [A6 - 0x12E]
00000292 7001 moveq.l D0, 0x01
00000294 2F00 move.l -[A7], D0
00000296 2F3C 5445 5854 move.l -[A7], 0x54455854 /* 'TEXT' */
0000029C 486E FEDA pea.l [A6 - 0x126]
000002A0 486E FEE0 pea.l [A6 - 0x120]
000002A4 303C 0A0B move.w D0, 0xA0B
000002A8 A816 syscall Pack8
000002AA 3E1F move.w D7, [A7]+
000002AC 6676 bne +0x78 /* 00000324 */
000002AE 598F subq.l A7, 4
000002B0 2F2E FEE4 move.l -[A7], [A6 - 0x11C]
000002B4 4EAD 074A jsr [A5 + 0x74A /* export_229 */]
000002B8 285F movea.l A4, [A7]+
000002BA 558F subq.l A7, 2
000002BC 486E FEE0 pea.l [A6 - 0x120]
000002C0 303C 0204 move.w D0, 0x204
000002C4 A816 syscall Pack8
000002C6 200C move.l D0, A4
000002C8 544F addq.w A7, 2
000002CA 672A beq +0x2C /* 000002F6 */
000002CC 2D7C 5445 5854 FEE8 move.l [A6 - 0x118], 0x54455854 /* 'TEXT' */
000002D4 2D4C FEEC move.l [A6 - 0x114], A4
000002D8 558F subq.l A7, 2
000002DA 486E FFF8 pea.l [A6 - 0x8]
000002DE 2F3C 2D2D 2D2D move.l -[A7], 0x2D2D2D2D /* '----' */
000002E4 486E FEE8 pea.l [A6 - 0x118]
000002E8 303C 0610 move.w D0, 0x610
000002EC A816 syscall Pack8
000002EE 204C movea.l A0, A4
000002F0 A023 syscall DisposHandle/DisposeHandle
000002F2 544F addq.w A7, 2
000002F4 602E bra +0x30 /* 00000324 */
label000002F6:
000002F6 486E FEDE pea.l [A6 - 0x122]
000002FA 2F0B move.l -[A7], A3
000002FC 4EAD 0742 jsr [A5 + 0x742 /* export_228 */]
00000300 558F subq.l A7, 2
00000302 486E FFF8 pea.l [A6 - 0x8]
00000306 2F3C 6572 7273 move.l -[A7], 0x65727273 /* 'errs' */
0000030C 2F3C 5445 5854 move.l -[A7], 0x54455854 /* 'TEXT' */
00000312 486B 0001 pea.l [A3 + 0x1]
00000316 7000 moveq.l D0, 0x00
00000318 1013 move.b D0, [A3]
0000031A 2F00 move.l -[A7], D0
0000031C 303C 0A0F move.w D0, 0xA0F
00000320 A816 syscall Pack8
00000322 544F addq.w A7, 2
label00000324:
00000324 558F subq.l A7, 2
00000326 486E FED2 pea.l [A6 - 0x12E]
0000032A 303C 0204 move.w D0, 0x204
0000032E A816 syscall Pack8
00000330 4A6E FEDE tst.w [A6 - 0x122]
00000334 544F addq.w A7, 2
00000336 6604 bne +0x6 /* 0000033C */
00000338 3D47 FEDE move.w [A6 - 0x122], D7
label0000033C:
0000033C 3D6E FEDE 0014 move.w [A6 + 0x14], [A6 - 0x122]
label00000342:
00000342 4CEE 1880 FEC6 movem.l D7,A3,A4, [A6 - 0x13A]
00000348 4E5E unlink A6
0000034A 205F movea.l A0, [A7]+
0000034C 4FEF 000C lea.l A7, [A7 + 0xC]
00000350 4ED0 jmp [A0]
00000352 4E56 0000 link A6, 0
00000356 1B6E 0008 E6DF move.b [A5 - 0x1921], [A6 + 0x8]
0000035C 4E5E unlink A6
0000035E 205F movea.l A0, [A7]+
00000360 544F addq.w A7, 2
00000362 4ED0 jmp [A0]
00000364 4E56 0000 link A6, 0
00000368 1D6D E6DF 0008 move.b [A6 + 0x8], [A5 - 0x1921]
0000036E 4E5E unlink A6
00000370 4E75 rts
00000372 4E56 0000 link A6, 0
00000376 2B6E 0008 E6DA move.l [A5 - 0x1926], [A6 + 0x8]
0000037C 4E5E unlink A6
0000037E 2E9F move.l [A7], [A7]+
00000380 4E75 rts
00000382 4E56 0000 link A6, 0
00000386 102D E6DF move.b D0, [A5 - 0x1921]
0000038A 6708 beq +0xA /* 00000394 */
0000038C 2D6D E6DA 0008 move.l [A6 + 0x8], [A5 - 0x1926]
00000392 600E bra +0x10 /* 000003A2 */
label00000394:
00000394 42A7 clr.l -[A7]
00000396 A975 syscall TickCount
00000398 2B5F E6DA move.l [A5 - 0x1926], [A7]+
0000039C 2D6D E6DA 0008 move.l [A6 + 0x8], [A5 - 0x1926]
label000003A2:
000003A2 4E5E unlink A6
000003A4 4E75 rts
000003A6 4E56 FFF6 link A6, -0x000A
000003AA 48E7 0708 movem.l -[A7], D5,D6,D7,A4
000003AE 7C01 moveq.l D6, 0x01
000003B0 42A7 clr.l -[A7]
000003B2 2F3C 5349 5A45 move.l -[A7], 0x53495A45 /* 'SIZE' */
000003B8 3F3C FFFF move.w -[A7], 0xFFFF
000003BC A9A0 syscall GetResource
000003BE 285F movea.l A4, [A7]+
000003C0 200C move.l D0, A4
000003C2 6712 beq +0x14 /* 000003D6 */
000003C4 7000 moveq.l D0, 0x00
000003C6 2054 movea.l A0, [A4]
000003C8 3010 move.w D0, [A0]
000003CA C0BC 0000 1000 and.l D0, 0x1000
000003D0 4A80 tst.l D0
000003D2 6602 bne +0x4 /* 000003D6 */
000003D4 4206 clr.b D6
label000003D6:
000003D6 3E2D F7BE move.w D7, [A5 - 0x842]
000003DA 7000 moveq.l D0, 0x00
000003DC 3007 move.w D0, D7
000003DE C0BC FFFF FF00 and.l D0, 0xFFFFFF00
000003E4 3E00 move.w D7, D0
000003E6 0C47 0100 cmpi.w D7, 0x100
000003EA 6600 00A2 bne +0xA4 /* 0000048E */
000003EE 082D 0000 F7C1 btst.b [A5 - 0x83F], 0x0
000003F4 674C beq +0x4E /* 00000442 */
000003F6 1006 move.b D0, D6
000003F8 670C beq +0xE /* 00000406 */
000003FA 102D F09E move.b D0, [A5 - 0xF62]
000003FE 673C beq +0x3E /* 0000043C */
00000400 4EAD 161A jsr [A5 + 0x161A /* export_703 */]
00000404 6036 bra +0x38 /* 0000043C */
label00000406:
00000406 2F2D F6FC move.l -[A7], [A5 - 0x904]
0000040A A915 syscall ShowWindow
0000040C 422D F7B6 clr.b [A5 - 0x84A]
00000410 3F2D F3AA move.w -[A7], [A5 - 0xC56]
00000414 4EBA 1AA6 jsr [PC + 0x1AA6 /* 00001EBC */]
00000418 2F2D F6FC move.l -[A7], [A5 - 0x904]
0000041C A873 syscall SetPort
0000041E 486D F6B2 pea.l [A5 - 0x94E]
00000422 4EAD 17AA jsr [A5 + 0x17AA /* export_753 */]
00000426 486D F6B2 pea.l [A5 - 0x94E]
0000042A A92A syscall ValidRect
0000042C 3E2D F250 move.w D7, [A5 - 0xDB0]
00000430 3B7C FFFF F250 move.w [A5 - 0xDB0], 0xFFFF
00000436 3F07 move.w -[A7], D7
00000438 4EAD 14FA jsr [A5 + 0x14FA /* export_667 */]
label0000043C:
0000043C 422D F0C2 clr.b [A5 - 0xF3E]
00000440 603E bra +0x40 /* 00000480 */
label00000442:
00000442 1006 move.b D0, D6
00000444 6708 beq +0xA /* 0000044E */
00000446 1B6D F6BA F09E move.b [A5 - 0xF62], [A5 - 0x946]
0000044C 6022 bra +0x24 /* 00000470 */
label0000044E:
0000044E 486D F3C8 pea.l [A5 - 0xC38]
00000452 4EAD 110A jsr [A5 + 0x110A /* export_541 */]
00000456 2F2D F6FC move.l -[A7], [A5 - 0x904]
0000045A A916 syscall HideWindow
0000045C 1B7C 0001 F7B6 move.b [A5 - 0x84A], 0x1
00000462 3A2D F3AA move.w D5, [A5 - 0xC56]
00000466 4267 clr.w -[A7]
00000468 4EBA 1A52 jsr [PC + 0x1A52 /* 00001EBC */]
0000046C 3B45 F3AA move.w [A5 - 0xC56], D5
label00000470:
00000470 102D F6BA move.b D0, [A5 - 0x946]
00000474 6704 beq +0x6 /* 0000047A */
00000476 4EAD 1622 jsr [A5 + 0x1622 /* export_704 */]
label0000047A:
0000047A 1B7C 0001 F0C2 move.b [A5 - 0xF3E], 0x1
label00000480:
00000480 102D F257 move.b D0, [A5 - 0xDA9]
00000484 6608 bne +0xA /* 0000048E */
00000486 A853 syscall ShowCursor
00000488 1B7C 0001 F257 move.b [A5 - 0xDA9], 0x1
label0000048E:
0000048E 4CDF 10E0 movem.l D5,D6,D7,A4, [A7]+
00000492 4E5E unlink A6
00000494 4E75 rts
00000496 2F0A move.l -[A7], A2
00000498 7064 moveq.l D0, 0x64
0000049A A122 syscall NewHandle, flags=1
0000049C 226F 0008 movea.l A1, [A7 + 0x8]
000004A0 2288 move.l [A1], A0
000004A2 4A40 tst.w D0
000004A4 6620 bne +0x22 /* 000004C6 */
000004A6 A029 syscall HLock
000004A8 2450 movea.l A2, [A0]
000004AA 7000 moveq.l D0, 0x00
000004AC 7218 moveq.l D1, 0x18
000004AE 204A movea.l A0, A2
label000004B0:
000004B0 20C0 move.l [A0]+, D0
000004B2 51C9 FFFC dbf D1, -0x6 /* 000004B0 */
000004B6 4267 clr.w -[A7]
000004B8 487A 00CA pea.l [PC + 0xCA /* 00000584, value 0x94D6163 '\tMac', pstring "MacinTalk" */]
000004BC A997 syscall OpenResFile
000004BE 301F move.w D0, [A7]+
000004C0 6A12 bpl +0x14 /* 000004D4 */
000004C2 3038 0A60 move.w D0, [0x00000A60 /* ResErr */]
label000004C6:
000004C6 245F movea.l A2, [A7]+
000004C8 2F57 0008 move.l [A7 + 0x8], [A7]
000004CC 508F addq.l A7, 8
000004CE 3F40 0004 move.w [A7 + 0x4], D0
000004D2 4E75 rts
label000004D4:
000004D4 3540 004A move.w [A2 + 0x4A], D0
000004D8 4227 clr.b -[A7]
000004DA A99B syscall SetResLoad
000004DC 42A7 clr.l -[A7]
000004DE 2F3C 4452 5652 move.l -[A7], 0x44525652 /* 'DRVR' */
000004E4 487A 0096 pea.l [PC + 0x96 /* 0000057C, value 0x72E5350, pstring ".SPEECH" */]
000004E8 A9A1 syscall GetNamedResource
000004EA 225F movea.l A1, [A7]+
000004EC 3038 0A60 move.w D0, [0x00000A60 /* ResErr */]
000004F0 66D4 bne -0x2A /* 000004C6 */
000004F2 1F3C 0001 move.b -[A7], 0x1
000004F6 A99B syscall SetResLoad
000004F8 2078 011C movea.l A0, [0x0000011C /* UTableBase */]
000004FC 41E8 0080 lea.l A0, [A0 + 0x80]
00000500 303C 0020 move.w D0, 0x20 /* ' ' */
label00000504:
00000504 5340 subq.w D0, 1
00000506 0C40 0012 cmpi.w D0, 0x12
0000050A 6E06 bgt +0x8 /* 00000512 */
0000050C 303C F060 move.w D0, 0xF060
00000510 60B4 bra -0x4A /* 000004C6 */
label00000512:
00000512 0CA0 0000 0000 cmpi.l -[A0], 0x0
00000518 66EA bne -0x14 /* 00000504 */
0000051A 3200 move.w D1, D0
0000051C 5241 addq.w D1, 1
0000051E 4441 neg.w D1
00000520 3541 0046 move.w [A2 + 0x46], D1
00000524 2F09 move.l -[A7], A1
00000526 3F00 move.w -[A7], D0
00000528 42A7 clr.l -[A7]
0000052A A9A9 syscall SetResInfo
0000052C 2F09 move.l -[A7], A1
0000052E A9A2 syscall LoadResource
00000530 3038 0A60 move.w D0, [0x00000A60 /* ResErr */]
00000534 2049 movea.l A0, A1
00000536 A029 syscall HLock
00000538 245F movea.l A2, [A7]+
0000053A 205F movea.l A0, [A7]+
0000053C 201F move.l D0, [A7]+
0000053E 225F movea.l A1, [A7]+
00000540 2F08 move.l -[A7], A0
00000542 2F0A move.l -[A7], A2
00000544 2440 movea.l A2, D0
00000546 2452 movea.l A2, [A2]
00000548 2F0A move.l -[A7], A2
0000054A 2452 movea.l A2, [A2]
0000054C 41D2 lea.l A0, [A2]
0000054E 2149 003C move.l [A0 + 0x3C], A1
00000552 43FA 0028 lea.l A1, [PC + 0x28 /* 0000057C, value 0x72E5350, pstring ".SPEECH" */]
00000556 2149 0012 move.l [A0 + 0x12], A1
0000055A 4268 0016 clr.w [A0 + 0x16]
0000055E 4268 001A clr.w [A0 + 0x1A]
00000562 42A8 001C clr.l [A0 + 0x1C]
00000566 A000 syscall Open/PBHOpen/HOpen
00000568 3F68 0010 000C move.w [A7 + 0xC], [A0 + 0x10]
0000056E 2568 0034 0042 move.l [A2 + 0x42], [A0 + 0x34]
00000574 205F movea.l A0, [A7]+
00000576 A02A syscall HUnlock
00000578 245F movea.l A2, [A7]+
0000057A 4E75 rts
0000057C 072E 5350 btst [A6 + 0x5350], D3
00000580 4545 chk.w D2, D5
00000582 4348 chk.w D1, A0
00000584 094D bchg A5, D4
00000586 6163 bsr +0x65 /* 000005EB */
00000588 696E bvs +0x70 /* 000005F8 */
0000058A 5461 addq.w -[A1], 2
0000058C 6C6B bge +0x6D /* 000005F9 */
0000058E 2F0A move.l -[A7], A2
00000590 206F 0008 movea.l A0, [A7 + 0x8]
00000594 A029 syscall HLock
00000596 2450 movea.l A2, [A0]
00000598 41D2 lea.l A0, [A2]
0000059A A201 syscall Close, flags=2
0000059C 302A 004A move.w D0, [A2 + 0x4A]
000005A0 6704 beq +0x6 /* 000005A6 */
000005A2 3F00 move.w -[A7], D0
000005A4 A99A syscall CloseResFile
label000005A6:
000005A6 206F 0008 movea.l A0, [A7 + 0x8]
000005AA A02A syscall HUnlock
000005AC A023 syscall DisposHandle/DisposeHandle
000005AE 245F movea.l A2, [A7]+
000005B0 2F57 0004 move.l [A7 + 0x4], [A7]
000005B4 588F addq.l A7, 4
000005B6 4E75 rts
000005B8 201F move.l D0, [A7]+
000005BA 225F movea.l A1, [A7]+
000005BC 205F movea.l A0, [A7]+
000005BE 2F00 move.l -[A7], D0
000005C0 2F08 move.l -[A7], A0
000005C2 A029 syscall HLock
000005C4 2049 movea.l A0, A1
000005C6 A025 syscall GetHandleSize
000005C8 2F0A move.l -[A7], A2
000005CA 246F 0004 movea.l A2, [A7 + 0x4]
000005CE 2452 movea.l A2, [A2]
000005D0 41D2 lea.l A0, [A2]
000005D2 316A 0046 0018 move.w [A0 + 0x18], [A2 + 0x46]
000005D8 2149 0020 move.l [A0 + 0x20], A1
000005DC 2140 0024 move.l [A0 + 0x24], D0
000005E0 A203 syscall Write, flags=2
000005E2 245F movea.l A2, [A7]+
000005E4 205F movea.l A0, [A7]+
000005E6 3F00 move.w -[A7], D0
000005E8 A02A syscall HUnlock
000005EA 301F move.w D0, [A7]+
000005EC 3F40 0004 move.w [A7 + 0x4], D0
000005F0 4E75 rts
000005F2 206F 0010 movea.l A0, [A7 + 0x10]
000005F6 2F6F 000C 0010 move.l [A7 + 0x10], [A7 + 0xC]
// begin alternate branch 000005F8-000005FC
label000005F8:
000005F8 000C 0010 ori.b A4, 0x10
// end alternate branch 000005F8-000005FC
label000005F8: // (misaligned)
000005FC 2F6F 0008 000C move.l [A7 + 0xC], [A7 + 0x8]
00000602 2F6F 0004 0008 move.l [A7 + 0x8], [A7 + 0x4]
00000608 2F57 0004 move.l [A7 + 0x4], [A7]
0000060C 588F addq.l A7, 4
0000060E A029 syscall HLock
00000610 2050 movea.l A0, [A0]
00000612 2068 0042 movea.l A0, [A0 + 0x42]
00000616 A029 syscall HLock
00000618 2050 movea.l A0, [A0]
0000061A 4ED0 jmp [A0]
0000061C 4E75 rts
0000061E 4E56 FFFC link A6, -0x0004
00000622 48E7 0018 movem.l -[A7], A3,A4
00000626 4A2D EAE4 tst.b [A5 - 0x151C]
0000062A 664A bne +0x4C /* 00000676 */
0000062C 558F subq.l A7, 2
0000062E 486D EAF4 pea.l [A5 - 0x150C]
00000632 3F3C A9F4 move.w -[A7], 0xA9F4
00000636 486D 009A pea.l [A5 + 0x9A /* export_15 */]
0000063A 7000 moveq.l D0, 0x00
0000063C 2F00 move.l -[A7], D0
0000063E 4EAD 1C12 jsr [A5 + 0x1C12 /* export_894 */]
00000642 4A1F tst.b [A7]+
00000644 6700 0082 beq +0x84 /* 000006C8 */
00000648 558F subq.l A7, 2
0000064A 486D EAE6 pea.l [A5 - 0x151A]
0000064E 3F3C A970 move.w -[A7], 0xA970
00000652 486D 00A2 pea.l [A5 + 0xA2 /* export_16 */]
00000656 7000 moveq.l D0, 0x00
00000658 2F00 move.l -[A7], D0
0000065A 4EAD 1C0A jsr [A5 + 0x1C0A /* export_893 */]
0000065E 4A1F tst.b [A7]+
00000660 660E bne +0x10 /* 00000670 */
00000662 558F subq.l A7, 2
00000664 486D EAF4 pea.l [A5 - 0x150C]
00000668 4EAD 1C1A jsr [A5 + 0x1C1A /* export_895 */]
0000066C 544F addq.w A7, 2
0000066E 6058 bra +0x5A /* 000006C8 */
label00000670:
00000670 1B7C 0001 EAE4 move.b [A5 - 0x151C], 0x1
label00000676:
00000676 4A78 0BAA tst.w [0x00000BAA /* MBarHeight */]
0000067A 674C beq +0x4E /* 000006C8 */
0000067C 598F subq.l A7, 4
0000067E A8D8 syscall NewRgn
00000680 285F movea.l A4, [A7]+
00000682 200C move.l D0, A4
00000684 6742 beq +0x44 /* 000006C8 */
00000686 598F subq.l A7, 4
00000688 A8D8 syscall NewRgn
0000068A 265F movea.l A3, [A7]+
0000068C 200B move.l D0, A3
0000068E 6738 beq +0x3A /* 000006C8 */
00000690 486E FFFC pea.l [A6 - 0x4]
00000694 A910 syscall GetWMgrPort
00000696 206E FFFC movea.l A0, [A6 - 0x4]
0000069A 2F28 0018 move.l -[A7], [A0 + 0x18]
0000069E 2F38 09EE move.l -[A7], [0x000009EE /* GrayRgn */]
000006A2 2F0C move.l -[A7], A4
000006A4 A8E6 syscall DiffRgn
000006A6 2F0B move.l -[A7], A3
000006A8 4EBA 01EA jsr [PC + 0x1EA /* 00000894 */]
000006AC 2F0C move.l -[A7], A4
000006AE 2F0B move.l -[A7], A3
000006B0 2F0C move.l -[A7], A4
000006B2 A8E5 syscall UnionRgn
000006B4 4EBA 0142 jsr [PC + 0x142 /* 000007F8 */]
000006B8 2F0C move.l -[A7], A4
000006BA 4EBA 0214 jsr [PC + 0x214 /* 000008D0 */]
000006BE 2F0C move.l -[A7], A4
000006C0 A8D9 syscall DisposRgn/DisposeRgn
000006C2 2F0B move.l -[A7], A3
000006C4 A8D9 syscall DisposRgn/DisposeRgn
000006C6 504F addq.w A7, 8
label000006C8:
000006C8 4CEE 1800 FFF4 movem.l A3,A4, [A6 - 0xC]
000006CE 4E5E unlink A6
000006D0 4E75 rts
fn000006D2:
000006D2 4E56 FFF8 link A6, -0x0008
000006D6 2F0C move.l -[A7], A4
000006D8 4A78 0BAA tst.w [0x00000BAA /* MBarHeight */]
000006DC 666E bne +0x70 /* 0000074C */
000006DE 598F subq.l A7, 4
000006E0 A8D8 syscall NewRgn
000006E2 285F movea.l A4, [A7]+
000006E4 200C move.l D0, A4
000006E6 6764 beq +0x66 /* 0000074C */
000006E8 4EBA 0134 jsr [PC + 0x134 /* 0000081E */]
000006EC 486E FFF8 pea.l [A6 - 0x8]
000006F0 A910 syscall GetWMgrPort
000006F2 598F subq.l A7, 4
000006F4 A924 syscall FrontWindow
000006F6 206E FFF8 movea.l A0, [A6 - 0x8]
000006FA 2F28 0018 move.l -[A7], [A0 + 0x18]
000006FE A90A syscall CalcVBehind
00000700 486E FFFC pea.l [A6 - 0x4]
00000704 A874 syscall GetPort
00000706 2F2E FFF8 move.l -[A7], [A6 - 0x8]
0000070A A873 syscall SetPort
0000070C 206E FFF8 movea.l A0, [A6 - 0x8]
00000710 2F28 0018 move.l -[A7], [A0 + 0x18]
00000714 A879 syscall SetClip
00000716 2F0C move.l -[A7], A4
00000718 4EBA 017A jsr [PC + 0x17A /* 00000894 */]
0000071C 2F0C move.l -[A7], A4
0000071E 2F38 09EE move.l -[A7], [0x000009EE /* GrayRgn */]
00000722 2F0C move.l -[A7], A4
00000724 A8E5 syscall UnionRgn
00000726 206E FFF8 movea.l A0, [A6 - 0x8]
0000072A 2F28 0018 move.l -[A7], [A0 + 0x18]
0000072E 2F0C move.l -[A7], A4
00000730 2F0C move.l -[A7], A4
00000732 A8E6 syscall DiffRgn
00000734 2F0C move.l -[A7], A4
00000736 598F subq.l A7, 4
00000738 4EBA 0A44 jsr [PC + 0xA44 /* 0000117E */]
0000073C A8D6 syscall FillRgn
0000073E 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000742 A873 syscall SetPort
00000744 A937 syscall DrawMenuBar
00000746 2F0C move.l -[A7], A4
00000748 A8D9 syscall DisposRgn/DisposeRgn
0000074A 584F addq.w A7, 4
label0000074C:
0000074C 286E FFF4 movea.l A4, [A6 - 0xC]
00000750 4E5E unlink A6
00000752 4E75 rts
00000754 4E56 0000 link A6, 0
00000758 4A78 0BAA tst.w [0x00000BAA /* MBarHeight */]
0000075C 6606 bne +0x8 /* 00000764 */
0000075E 4EBA FF72 jsr [PC - 0x8E /* 000006D2 */]
00000762 6002 bra +0x4 /* 00000766 */
label00000764:
00000764 A937 syscall DrawMenuBar
label00000766:
00000766 4E5E unlink A6
00000768 4E75 rts
0000076A 4E56 0000 link A6, 0
0000076E 2F07 move.l -[A7], D7
00000770 202E 0008 move.l D0, [A6 + 0x8]
00000774 C18D exg D0, A5
00000776 2E00 move.l D7, D0
00000778 4A2D EAE2 tst.b [A5 - 0x151E]
0000077C 660A bne +0xC /* 00000788 */
0000077E 1B7C 0001 EAE2 move.b [A5 - 0x151E], 0x1
00000784 4EBA FF4C jsr [PC - 0xB4 /* 000006D2 */]
label00000788:
00000788 2007 move.l D0, D7
0000078A C18D exg D0, A5
0000078C 2E2E FFFC move.l D7, [A6 - 0x4]
00000790 4E5E unlink A6
00000792 2E9F move.l [A7], [A7]+
00000794 4E75 rts
00000796 4E56 0000 link A6, 0
0000079A 48E7 0308 movem.l -[A7], D6,D7,A4
0000079E 286E 000C movea.l A4, [A6 + 0xC]
000007A2 202E 0008 move.l D0, [A6 + 0x8]
000007A6 C18D exg D0, A5
000007A8 2C00 move.l D6, D0
000007AA 558F subq.l A7, 2
000007AC 3F2E 0010 move.w -[A7], [A6 + 0x10]
000007B0 2F0C move.l -[A7], A4
000007B2 206D EAEC movea.l A0, [A5 - 0x1514]
000007B6 4E90 jsr [A0]
000007B8 1E1F move.b D7, [A7]+
000007BA 700F moveq.l D0, 0x0F
000007BC B054 cmp.w D0, [A4]
000007BE 6620 bne +0x22 /* 000007E0 */
000007C0 202C 0002 move.l D0, [A4 + 0x2]
000007C4 4840 swap.w D0
000007C6 48C0 ext.l D0
000007C8 E040 asr D0.w, 8
000007CA 7200 moveq.l D1, 0x00
000007CC 1200 move.b D1, D0
000007CE 0C41 0001 cmpi.w D1, 0x1
000007D2 660C bne +0xE /* 000007E0 */
000007D4 7001 moveq.l D0, 0x01
000007D6 C0AC 0002 and.l D0, [A4 + 0x2]
000007DA 6604 bne +0x6 /* 000007E0 */
000007DC 4EBA FEF4 jsr [PC - 0x10C /* 000006D2 */]
label000007E0:
000007E0 2006 move.l D0, D6
000007E2 C18D exg D0, A5
000007E4 1D47 0012 move.b [A6 + 0x12], D7
000007E8 4CEE 10C0 FFF4 movem.l D6,D7,A4, [A6 - 0xC]
000007EE 4E5E unlink A6
000007F0 205F movea.l A0, [A7]+
000007F2 4FEF 000A lea.l A7, [A7 + 0xA]
000007F6 4ED0 jmp [A0]
fn000007F8:
000007F8 4E56 FFFC link A6, -0x0004
000007FC 3B78 0BAA EB02 move.w [A5 - 0x14FE], [0x00000BAA /* MBarHeight */]
00000802 4278 0BAA clr.w [0x00000BAA /* MBarHeight */]
00000806 486E FFFC pea.l [A6 - 0x4]
0000080A A910 syscall GetWMgrPort
0000080C 206E FFFC movea.l A0, [A6 - 0x4]
00000810 2F28 0018 move.l -[A7], [A0 + 0x18]
00000814 2F38 09EE move.l -[A7], [0x000009EE /* GrayRgn */]
00000818 A8DC syscall CopyRgn
0000081A 4E5E unlink A6
0000081C 4E75 rts
fn0000081E:
0000081E 4E56 FFF4 link A6, -0x000C
00000822 2F0C move.l -[A7], A4
00000824 31ED EB02 0BAA move.w [0x00000BAA /* MBarHeight */], [A5 - 0x14FE]
0000082A 486E FFF4 pea.l [A6 - 0xC]
0000082E A910 syscall GetWMgrPort
00000830 206E FFF4 movea.l A0, [A6 - 0xC]
00000834 2068 0018 movea.l A0, [A0 + 0x18]
00000838 2050 movea.l A0, [A0]
0000083A 43EE FFF8 lea.l A1, [A6 - 0x8]
0000083E 5488 addq.l A0, 2
00000840 22D8 move.l [A1]+, [A0]+
00000842 22D8 move.l [A1]+, [A0]+
00000844 A8DA syscall OpenRgn
00000846 486E FFF8 pea.l [A6 - 0x8]
0000084A 7010 moveq.l D0, 0x10
0000084C 3F00 move.w -[A7], D0
0000084E 3F00 move.w -[A7], D0
00000850 A8B0 syscall FrameRoundRect
00000852 2F38 09EE move.l -[A7], [0x000009EE /* GrayRgn */]
00000856 A8DB syscall CloseRgn
00000858 598F subq.l A7, 4
0000085A A8D8 syscall NewRgn
0000085C 285F movea.l A4, [A7]+
0000085E 200C move.l D0, A4
00000860 672A beq +0x2C /* 0000088C */
00000862 2F0C move.l -[A7], A4
00000864 4EBA 002E jsr [PC + 0x2E /* 00000894 */]
00000868 2F38 09EE move.l -[A7], [0x000009EE /* GrayRgn */]
0000086C 2F0C move.l -[A7], A4
0000086E 2F38 09EE move.l -[A7], [0x000009EE /* GrayRgn */]
00000872 A8E6 syscall DiffRgn
00000874 206E FFF4 movea.l A0, [A6 - 0xC]
00000878 2F28 0018 move.l -[A7], [A0 + 0x18]
0000087C 2F38 09EE move.l -[A7], [0x000009EE /* GrayRgn */]
00000880 2F38 09EE move.l -[A7], [0x000009EE /* GrayRgn */]
00000884 A8E4 syscall SectRgn
00000886 2F0C move.l -[A7], A4
00000888 A8D9 syscall DisposRgn/DisposeRgn
0000088A 584F addq.w A7, 4
label0000088C:
0000088C 286E FFF0 movea.l A4, [A6 - 0x10]
00000890 4E5E unlink A6
00000892 4E75 rts
fn00000894:
00000894 4E56 FFF8 link A6, -0x0008
00000898 486E FFF8 pea.l [A6 - 0x8]
0000089C 7000 moveq.l D0, 0x00
0000089E 3F00 move.w -[A7], D0
000008A0 3F00 move.w -[A7], D0
000008A2 598F subq.l A7, 4
000008A4 4EBA 08E8 jsr [PC + 0x8E8 /* 0000118E */]
000008A8 205F movea.l A0, [A7]+
000008AA 3F28 000C move.w -[A7], [A0 + 0xC]
000008AE 4A78 0BAA tst.w [0x00000BAA /* MBarHeight */]
000008B2 6606 bne +0x8 /* 000008BA */
000008B4 302D EB02 move.w D0, [A5 - 0x14FE]
000008B8 6004 bra +0x6 /* 000008BE */
label000008BA:
000008BA 3038 0BAA move.w D0, [0x00000BAA /* MBarHeight */]
label000008BE:
000008BE 3F00 move.w -[A7], D0
000008C0 A8A7 syscall SetRect
000008C2 2F2E 0008 move.l -[A7], [A6 + 0x8]
000008C6 486E FFF8 pea.l [A6 - 0x8]
000008CA A8DF syscall RectRgn
000008CC 4E5E unlink A6
000008CE 4E75 rts
fn000008D0:
000008D0 4E56 FFF8 link A6, -0x0008
000008D4 48E7 0018 movem.l -[A7], A3,A4
000008D8 266E 0008 movea.l A3, [A6 + 0x8]
000008DC 486E FFF8 pea.l [A6 - 0x8]
000008E0 A874 syscall GetPort
000008E2 486E FFFC pea.l [A6 - 0x4]
000008E6 A910 syscall GetWMgrPort
000008E8 2F2E FFFC move.l -[A7], [A6 - 0x4]
000008EC A873 syscall SetPort
000008EE 598F subq.l A7, 4
000008F0 A924 syscall FrontWindow
000008F2 2857 movea.l A4, [A7]
000008F4 2F0B move.l -[A7], A3
000008F6 A90D syscall PaintBehind
000008F8 2F0C move.l -[A7], A4
000008FA 2F0B move.l -[A7], A3
000008FC A90A syscall CalcVBehind
000008FE 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00000902 A873 syscall SetPort
00000904 4CEE 1800 FFF0 movem.l A3,A4, [A6 - 0x10]
0000090A 4E5E unlink A6
0000090C 4E75 rts
0000090E 4E56 FFFE link A6, -0x0002
00000912 102E 0008 move.b D0, [A6 + 0x8]
00000916 B02D F1F7 cmp.b D0, [A5 - 0xE09]
0000091A 6602 bne +0x4 /* 0000091E */
0000091C 606A bra +0x6C /* 00000988 */
label0000091E:
0000091E 102E 0008 move.b D0, [A6 + 0x8]
00000922 6728 beq +0x2A /* 0000094C */
00000924 486D F6B2 pea.l [A5 - 0x94E]
00000928 1F3C 0001 move.b -[A7], 0x1
0000092C 4EAD 1732 jsr [A5 + 0x1732 /* export_738 */]
00000930 3F3C 0068 move.w -[A7], 0x68 /* 'h' */
00000934 4EAD 14E2 jsr [A5 + 0x14E2 /* export_664 */]
00000938 102D F6BB move.b D0, [A5 - 0x945]
0000093C 6708 beq +0xA /* 00000946 */
0000093E 3F3C 0069 move.w -[A7], 0x69 /* 'i' */
00000942 4EAD 14E2 jsr [A5 + 0x14E2 /* export_664 */]
label00000946:
00000946 4EBA 0EE2 jsr [PC + 0xEE2 /* 0000182A */]
0000094A 6036 bra +0x38 /* 00000982 */
label0000094C:
0000094C 2F3C 0068 0000 move.l -[A7], 0x680000 /* 'h\0\0' */
00000952 4EAD 14DA jsr [A5 + 0x14DA /* export_663 */]
00000956 3D5F FFFE move.w [A6 - 0x2], [A7]+
0000095A 102D F6BB move.b D0, [A5 - 0x945]
0000095E 670E beq +0x10 /* 0000096E */
00000960 2F3C 0069 0000 move.l -[A7], 0x690000 /* 'i\0\0' */
00000966 4EAD 14DA jsr [A5 + 0x14DA /* export_663 */]
0000096A 3D5F FFFE move.w [A6 - 0x2], [A7]+
label0000096E:
0000096E 486D F6B2 pea.l [A5 - 0x94E]
00000972 1F3C 0001 move.b -[A7], 0x1
00000976 4EAD 173A jsr [A5 + 0x173A /* export_739 */]
0000097A 4EAD 174A jsr [A5 + 0x174A /* export_741 */]
0000097E 4EAD 17DA jsr [A5 + 0x17DA /* export_759 */]
label00000982:
00000982 1B6E 0008 F1F7 move.b [A5 - 0xE09], [A6 + 0x8]
label00000988:
00000988 4E5E unlink A6
0000098A 205F movea.l A0, [A7]+
0000098C 544F addq.w A7, 2
0000098E 4ED0 jmp [A0]
fn00000990:
00000990 4E56 0000 link A6, 0
00000994 48E7 0308 movem.l -[A7], D6,D7,A4
00000998 558F subq.l A7, 2
0000099A 2F3C 6D35 6178 move.l -[A7], 0x6D356178 /* 'm5ax' */
000009A0 A99C syscall CountResources
000009A2 3C1F move.w D6, [A7]+
000009A4 6742 beq +0x44 /* 000009E8 */
000009A6 7E01 moveq.l D7, 0x01
000009A8 603A bra +0x3C /* 000009E4 */
label000009AA:
000009AA 598F subq.l A7, 4
000009AC 2F3C 6D35 6178 move.l -[A7], 0x6D356178 /* 'm5ax' */
000009B2 3F07 move.w -[A7], D7
000009B4 A99D syscall GetIndResource
000009B6 285F movea.l A4, [A7]+
000009B8 200C move.l D0, A4
000009BA 6608 bne +0xA /* 000009C4 */
000009BC 558F subq.l A7, 2
000009BE A9AF syscall ResError
000009C0 301F move.w D0, [A7]+
000009C2 6026 bra +0x28 /* 000009EA */
label000009C4:
000009C4 204C movea.l A0, A4
000009C6 A069 syscall HGetState
000009C8 4880 ext.w D0
000009CA 323C 0080 move.w D1, 0x80
000009CE C200 and.b D1, D0
000009D0 7000 moveq.l D0, 0x00
000009D2 1001 move.b D0, D1
000009D4 4A80 tst.l D0
000009D6 6608 bne +0xA /* 000009E0 */
000009D8 204C movea.l A0, A4
000009DA A064 syscall MoveHHi
000009DC 204C movea.l A0, A4
000009DE A029 syscall HLock
label000009E0:
000009E0 3007 move.w D0, D7
000009E2 5247 addq.w D7, 1
label000009E4:
000009E4 BC47 cmp.w D6, D7
000009E6 6CC2 bge -0x3C /* 000009AA */
label000009E8:
000009E8 7000 moveq.l D0, 0x00
label000009EA:
000009EA 4CEE 10C0 FFF4 movem.l D6,D7,A4, [A6 - 0xC]
000009F0 4E5E unlink A6
000009F2 4E75 rts
fn000009F4:
000009F4 4E56 0000 link A6, 0
000009F8 48E7 0118 movem.l -[A7], D7,A3,A4
000009FC 4EBA FF92 jsr [PC - 0x6E /* 00000990 */]
00000A00 3E00 move.w D7, D0
00000A02 6706 beq +0x8 /* 00000A0A */
00000A04 3007 move.w D0, D7
00000A06 6000 00C4 bra +0xC6 /* 00000ACC */
label00000A0A:
00000A0A 558F subq.l A7, 2
00000A0C 2F3C 6D35 6372 move.l -[A7], 0x6D356372 /* 'm5cr' */
00000A12 A99C syscall CountResources
00000A14 3E1F move.w D7, [A7]+
00000A16 6608 bne +0xA /* 00000A20 */
00000A18 303C FF40 move.w D0, 0xFF40
00000A1C 6000 00AE bra +0xB0 /* 00000ACC */
label00000A20:
00000A20 48C7 ext.l D7
00000A22 2007 move.l D0, D7
00000A24 5380 subq.l D0, 1
00000A26 E780 asl D0, 3
00000A28 720A moveq.l D1, 0x0A
00000A2A D081 add.l D0, D1
00000A2C A122 syscall NewHandle, flags=1
00000A2E 2648 movea.l A3, A0
00000A30 200B move.l D0, A3
00000A32 6608 bne +0xA /* 00000A3C */
00000A34 3038 0220 move.w D0, [0x00000220 /* MemErr */]
00000A38 6000 0092 bra +0x94 /* 00000ACC */
label00000A3C:
00000A3C 204B movea.l A0, A3
00000A3E A029 syscall HLock
00000A40 2B4B EB04 move.l [A5 - 0x14FC], A3
00000A44 204B movea.l A0, A3
00000A46 2050 movea.l A0, [A0]
00000A48 3087 move.w [A0], D7
00000A4A 7E00 moveq.l D7, 0x00
00000A4C 206D EB04 movea.l A0, [A5 - 0x14FC]
00000A50 2050 movea.l A0, [A0]
00000A52 49E8 0002 lea.l A4, [A0 + 0x2]
00000A56 602C bra +0x2E /* 00000A84 */
label00000A58:
00000A58 28BC 2A2A 2A2A move.l [A4], 0x2A2A2A2A /* '****' */
00000A5E 598F subq.l A7, 4
00000A60 2F3C 6D35 6372 move.l -[A7], 0x6D356372 /* 'm5cr' */
00000A66 3007 move.w D0, D7
00000A68 5240 addq.w D0, 1
00000A6A 3F00 move.w -[A7], D0
00000A6C A99D syscall GetIndResource
00000A6E 295F 0004 move.l [A4 + 0x4], [A7]+
00000A72 670A beq +0xC /* 00000A7E */
00000A74 206C 0004 movea.l A0, [A4 + 0x4]
00000A78 2050 movea.l A0, [A0]
00000A7A 28A8 0002 move.l [A4], [A0 + 0x2]
label00000A7E:
00000A7E 2007 move.l D0, D7
00000A80 5287 addq.l D7, 1
00000A82 504C addq.w A4, 8
label00000A84:
00000A84 206D EB04 movea.l A0, [A5 - 0x14FC]
00000A88 2050 movea.l A0, [A0]
00000A8A 3010 move.w D0, [A0]
00000A8C 48C0 ext.l D0
00000A8E B087 cmp.l D0, D7
00000A90 6EC6 bgt -0x38 /* 00000A58 */
00000A92 7E00 moveq.l D7, 0x00
00000A94 206D EB04 movea.l A0, [A5 - 0x14FC]
00000A98 2050 movea.l A0, [A0]
00000A9A 49E8 0002 lea.l A4, [A0 + 0x2]
00000A9E 6018 bra +0x1A /* 00000AB8 */
label00000AA0:
00000AA0 2F14 move.l -[A7], [A4]
00000AA2 4EBA 0108 jsr [PC + 0x108 /* 00000BAC */]
00000AA6 4A40 tst.w D0
00000AA8 584F addq.w A7, 4
00000AAA 6706 beq +0x8 /* 00000AB2 */
00000AAC 7000 moveq.l D0, 0x00
00000AAE 2940 0004 move.l [A4 + 0x4], D0
label00000AB2:
00000AB2 2007 move.l D0, D7
00000AB4 5287 addq.l D7, 1
00000AB6 504C addq.w A4, 8
label00000AB8:
00000AB8 206D EB04 movea.l A0, [A5 - 0x14FC]
00000ABC 2050 movea.l A0, [A0]
00000ABE 3010 move.w D0, [A0]
00000AC0 48C0 ext.l D0
00000AC2 B087 cmp.l D0, D7
00000AC4 6EDA bgt -0x24 /* 00000AA0 */
00000AC6 204B movea.l A0, A3
00000AC8 A02A syscall HUnlock
00000ACA 7000 moveq.l D0, 0x00
label00000ACC:
00000ACC 4CEE 1880 FFF4 movem.l D7,A3,A4, [A6 - 0xC]
00000AD2 4E5E unlink A6
00000AD4 4E75 rts
fn00000AD6:
00000AD6 4E56 0000 link A6, 0
00000ADA 48E7 0108 movem.l -[A7], D7,A4
00000ADE 4AAD EB04 tst.l [A5 - 0x14FC]
00000AE2 6604 bne +0x6 /* 00000AE8 */
00000AE4 7000 moveq.l D0, 0x00
00000AE6 603A bra +0x3C /* 00000B22 */
label00000AE8:
00000AE8 206D EB04 movea.l A0, [A5 - 0x14FC]
00000AEC A029 syscall HLock
00000AEE 7E00 moveq.l D7, 0x00
00000AF0 206D EB04 movea.l A0, [A5 - 0x14FC]
00000AF4 2050 movea.l A0, [A0]
00000AF6 49E8 0002 lea.l A4, [A0 + 0x2]
00000AFA 6010 bra +0x12 /* 00000B0C */
label00000AFC:
00000AFC 2F14 move.l -[A7], [A4]
00000AFE 4EBA 00C0 jsr [PC + 0xC0 /* 00000BC0 */]
00000B02 4A40 tst.w D0
00000B04 584F addq.w A7, 4
00000B06 2007 move.l D0, D7
00000B08 5287 addq.l D7, 1
00000B0A 504C addq.w A4, 8
label00000B0C:
00000B0C 206D EB04 movea.l A0, [A5 - 0x14FC]
00000B10 2050 movea.l A0, [A0]
00000B12 3010 move.w D0, [A0]
00000B14 48C0 ext.l D0
00000B16 B087 cmp.l D0, D7
00000B18 6EE2 bgt -0x1C /* 00000AFC */
00000B1A 206D EB04 movea.l A0, [A5 - 0x14FC]
00000B1E A023 syscall DisposHandle/DisposeHandle
00000B20 7000 moveq.l D0, 0x00
label00000B22:
00000B22 4CEE 1080 FFF8 movem.l D7,A4, [A6 - 0x8]
00000B28 4E5E unlink A6
00000B2A 4E75 rts
fn00000B2C:
00000B2C 4E56 0000 link A6, 0
00000B30 48E7 0308 movem.l -[A7], D6,D7,A4
00000B34 2C2E 0008 move.l D6, [A6 + 0x8]
00000B38 7E00 moveq.l D7, 0x00
00000B3A 206D EB04 movea.l A0, [A5 - 0x14FC]
00000B3E 2050 movea.l A0, [A0]
00000B40 49E8 0002 lea.l A4, [A0 + 0x2]
00000B44 601C bra +0x1E /* 00000B62 */
label00000B46:
00000B46 BC94 cmp.l D6, [A4]
00000B48 6612 bne +0x14 /* 00000B5C */
00000B4A 4AAC 0004 tst.l [A4 + 0x4]
00000B4E 6708 beq +0xA /* 00000B58 */
00000B50 206C 0004 movea.l A0, [A4 + 0x4]
00000B54 2010 move.l D0, [A0]
00000B56 601A bra +0x1C /* 00000B72 */
label00000B58:
00000B58 7000 moveq.l D0, 0x00
00000B5A 6016 bra +0x18 /* 00000B72 */
label00000B5C:
00000B5C 2007 move.l D0, D7
00000B5E 5287 addq.l D7, 1
00000B60 504C addq.w A4, 8
label00000B62:
00000B62 206D EB04 movea.l A0, [A5 - 0x14FC]
00000B66 2050 movea.l A0, [A0]
00000B68 3010 move.w D0, [A0]
00000B6A 48C0 ext.l D0
00000B6C B087 cmp.l D0, D7
00000B6E 6ED6 bgt -0x28 /* 00000B46 */
00000B70 7000 moveq.l D0, 0x00
label00000B72:
00000B72 4CEE 10C0 FFF4 movem.l D6,D7,A4, [A6 - 0xC]
00000B78 4E5E unlink A6
00000B7A 4E75 rts
fn00000B7C:
00000B7C 4E56 0000 link A6, 0
00000B80 2F0C move.l -[A7], A4
00000B82 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000B86 4EBA FFA4 jsr [PC - 0x5C /* 00000B2C */]
00000B8A 2840 movea.l A4, D0
00000B8C 200C move.l D0, A4
00000B8E 584F addq.w A7, 4
00000B90 670E beq +0x10 /* 00000BA0 */
00000B92 41EE 0008 lea.l A0, [A6 + 0x8]
00000B96 5848 addq.w A0, 4
00000B98 2F08 move.l -[A7], A0
00000B9A 4E94 jsr [A4]
00000B9C 584F addq.w A7, 4
00000B9E 6004 bra +0x6 /* 00000BA4 */
label00000BA0:
00000BA0 4EBA 0032 jsr [PC + 0x32 /* 00000BD4 */]
label00000BA4:
00000BA4 286E FFFC movea.l A4, [A6 - 0x4]
00000BA8 4E5E unlink A6
00000BAA 4E75 rts
fn00000BAC:
00000BAC 4E56 0000 link A6, 0
00000BB0 7001 moveq.l D0, 0x01
00000BB2 2F00 move.l -[A7], D0
00000BB4 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000BB8 4EBA FFC2 jsr [PC - 0x3E /* 00000B7C */]
00000BBC 4E5E unlink A6
00000BBE 4E75 rts
fn00000BC0:
00000BC0 4E56 0000 link A6, 0
00000BC4 7002 moveq.l D0, 0x02
00000BC6 2F00 move.l -[A7], D0
00000BC8 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000BCC 4EBA FFAE jsr [PC - 0x52 /* 00000B7C */]
00000BD0 4E5E unlink A6
00000BD2 4E75 rts
fn00000BD4:
00000BD4 4E56 0000 link A6, 0
00000BD8 70FE moveq.l D0, 0xFFFFFFFE
00000BDA 4E5E unlink A6
00000BDC 4E75 rts
00000BDE 4E56 0000 link A6, 0
00000BE2 102E 000B move.b D0, [A6 + 0xB]
00000BE6 4880 ext.w D0
00000BE8 48C0 ext.l D0
00000BEA 2F00 move.l -[A7], D0
00000BEC 7003 moveq.l D0, 0x03
00000BEE 2F00 move.l -[A7], D0
00000BF0 7204 moveq.l D1, 0x04
00000BF2 2F01 move.l -[A7], D1
00000BF4 2F3C 6D65 6D6F move.l -[A7], 0x6D656D6F /* 'memo' */
00000BFA 4EBA FF80 jsr [PC - 0x80 /* 00000B7C */]
00000BFE 4E5E unlink A6
00000C00 4E75 rts
00000C02 4E56 0000 link A6, 0
00000C06 7002 moveq.l D0, 0x02
00000C08 2F00 move.l -[A7], D0
00000C0A 7204 moveq.l D1, 0x04
00000C0C 2F01 move.l -[A7], D1
00000C0E 2F3C 6D65 6D6F move.l -[A7], 0x6D656D6F /* 'memo' */
00000C14 4EBA FF66 jsr [PC - 0x9A /* 00000B7C */]
00000C18 4E5E unlink A6
00000C1A 4E75 rts
00000C1C 4E56 0000 link A6, 0
00000C20 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000C24 7008 moveq.l D0, 0x08
00000C26 2F00 move.l -[A7], D0
00000C28 7204 moveq.l D1, 0x04
00000C2A 2F01 move.l -[A7], D1
00000C2C 2F3C 6D65 6D6F move.l -[A7], 0x6D656D6F /* 'memo' */
00000C32 4EBA FF48 jsr [PC - 0xB8 /* 00000B7C */]
00000C36 4E5E unlink A6
00000C38 4E75 rts
00000C3A 4E56 0000 link A6, 0
00000C3E 7000 moveq.l D0, 0x00
00000C40 102E 0013 move.b D0, [A6 + 0x13]
00000C44 2F00 move.l -[A7], D0
00000C46 2F2E 000C move.l -[A7], [A6 + 0xC]
00000C4A 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000C4E 7001 moveq.l D0, 0x01
00000C50 2F00 move.l -[A7], D0
00000C52 7203 moveq.l D1, 0x03
00000C54 2F01 move.l -[A7], D1
00000C56 2F3C 6D65 6D6F move.l -[A7], 0x6D656D6F /* 'memo' */
00000C5C 4EBA FF1E jsr [PC - 0xE2 /* 00000B7C */]
00000C60 4E5E unlink A6
00000C62 4E75 rts
00000C64 4E56 0000 link A6, 0
00000C68 2F07 move.l -[A7], D7
00000C6A 1E2E 000B move.b D7, [A6 + 0xB]
00000C6E 6604 bne +0x6 /* 00000C74 */
00000C70 4EBA 0150 jsr [PC + 0x150 /* 00000DC2 */]
label00000C74:
00000C74 4887 ext.w D7
00000C76 48C7 ext.l D7
00000C78 2F07 move.l -[A7], D7
00000C7A 7002 moveq.l D0, 0x02
00000C7C 2F00 move.l -[A7], D0
00000C7E 7203 moveq.l D1, 0x03
00000C80 2F01 move.l -[A7], D1
00000C82 2F3C 6D65 6D6F move.l -[A7], 0x6D656D6F /* 'memo' */
00000C88 4EBA FEF2 jsr [PC - 0x10E /* 00000B7C */]
00000C8C 4FEF 0010 lea.l A7, [A7 + 0x10]
00000C90 2E2E FFFC move.l D7, [A6 - 0x4]
00000C94 4E5E unlink A6
00000C96 4E75 rts
fn00000C98:
00000C98 4E56 0000 link A6, 0
00000C9C 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000CA0 7003 moveq.l D0, 0x03
00000CA2 2F00 move.l -[A7], D0
00000CA4 2F00 move.l -[A7], D0
00000CA6 2F3C 6D65 6D6F move.l -[A7], 0x6D656D6F /* 'memo' */
00000CAC 4EBA FECE jsr [PC - 0x132 /* 00000B7C */]
00000CB0 4E5E unlink A6
00000CB2 4E75 rts
fn00000CB4:
00000CB4 4E56 0000 link A6, 0
00000CB8 302E 000E move.w D0, [A6 + 0xE]
00000CBC 48C0 ext.l D0
00000CBE 2F00 move.l -[A7], D0
00000CC0 102E 000B move.b D0, [A6 + 0xB]
00000CC4 4880 ext.w D0
00000CC6 48C0 ext.l D0
00000CC8 2F00 move.l -[A7], D0
00000CCA 7004 moveq.l D0, 0x04
00000CCC 2F00 move.l -[A7], D0
00000CCE 7203 moveq.l D1, 0x03
00000CD0 2F01 move.l -[A7], D1
00000CD2 2F3C 6D65 6D6F move.l -[A7], 0x6D656D6F /* 'memo' */
00000CD8 4EBA FEA2 jsr [PC - 0x15E /* 00000B7C */]
00000CDC 4E5E unlink A6
00000CDE 4E75 rts
fn00000CE0:
00000CE0 4E56 0000 link A6, 0
00000CE4 2F2E 000C move.l -[A7], [A6 + 0xC]
00000CE8 102E 000B move.b D0, [A6 + 0xB]
00000CEC 4880 ext.w D0
00000CEE 48C0 ext.l D0
00000CF0 2F00 move.l -[A7], D0
00000CF2 7005 moveq.l D0, 0x05
00000CF4 2F00 move.l -[A7], D0
00000CF6 7203 moveq.l D1, 0x03
00000CF8 2F01 move.l -[A7], D1
00000CFA 2F3C 6D65 6D6F move.l -[A7], 0x6D656D6F /* 'memo' */
00000D00 4EBA FE7A jsr [PC - 0x186 /* 00000B7C */]
00000D04 4E5E unlink A6
00000D06 4E75 rts
00000D08 4E56 0000 link A6, 0
00000D0C 102E 000B move.b D0, [A6 + 0xB]
00000D10 4880 ext.w D0
00000D12 48C0 ext.l D0
00000D14 2F00 move.l -[A7], D0
00000D16 7006 moveq.l D0, 0x06
00000D18 2F00 move.l -[A7], D0
00000D1A 7203 moveq.l D1, 0x03
00000D1C 2F01 move.l -[A7], D1
00000D1E 2F3C 6D65 6D6F move.l -[A7], 0x6D656D6F /* 'memo' */
00000D24 4EBA FE56 jsr [PC - 0x1AA /* 00000B7C */]
00000D28 4E5E unlink A6
00000D2A 4E75 rts
00000D2C 4E56 0000 link A6, 0
00000D30 302E 000E move.w D0, [A6 + 0xE]
00000D34 48C0 ext.l D0
00000D36 2F00 move.l -[A7], D0
00000D38 102E 000B move.b D0, [A6 + 0xB]
00000D3C 4880 ext.w D0
00000D3E 48C0 ext.l D0
00000D40 2F00 move.l -[A7], D0
00000D42 7009 moveq.l D0, 0x09
00000D44 2F00 move.l -[A7], D0
00000D46 7203 moveq.l D1, 0x03
00000D48 2F01 move.l -[A7], D1
00000D4A 2F3C 6D65 6D6F move.l -[A7], 0x6D656D6F /* 'memo' */
00000D50 4EBA FE2A jsr [PC - 0x1D6 /* 00000B7C */]
00000D54 4E5E unlink A6
00000D56 4E75 rts
00000D58 4E56 0000 link A6, 0
00000D5C 2F2E 0014 move.l -[A7], [A6 + 0x14]
00000D60 2F2E 0010 move.l -[A7], [A6 + 0x10]
00000D64 302E 000E move.w D0, [A6 + 0xE]
00000D68 48C0 ext.l D0
00000D6A 2F00 move.l -[A7], D0
00000D6C 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000D70 700A moveq.l D0, 0x0A
00000D72 2F00 move.l -[A7], D0
00000D74 7203 moveq.l D1, 0x03
00000D76 2F01 move.l -[A7], D1
00000D78 2F3C 6D65 6D6F move.l -[A7], 0x6D656D6F /* 'memo' */
00000D7E 4EBA FDFC jsr [PC - 0x204 /* 00000B7C */]
00000D82 4E5E unlink A6
00000D84 4E75 rts
00000D86 4E56 0000 link A6, 0
00000D8A 302E 000A move.w D0, [A6 + 0xA]
00000D8E 48C0 ext.l D0
00000D90 2F00 move.l -[A7], D0
00000D92 700B moveq.l D0, 0x0B
00000D94 2F00 move.l -[A7], D0
00000D96 7203 moveq.l D1, 0x03
00000D98 2F01 move.l -[A7], D1
00000D9A 2F3C 6D65 6D6F move.l -[A7], 0x6D656D6F /* 'memo' */
00000DA0 4EBA FDDA jsr [PC - 0x226 /* 00000B7C */]
00000DA4 4E5E unlink A6
00000DA6 4E75 rts
00000DA8 4E56 0000 link A6, 0
00000DAC 7001 moveq.l D0, 0x01
00000DAE 2F00 move.l -[A7], D0
00000DB0 7203 moveq.l D1, 0x03
00000DB2 2F01 move.l -[A7], D1
00000DB4 2F3C 4D49 4449 move.l -[A7], 0x4D494449 /* 'MIDI' */
00000DBA 4EBA FDC0 jsr [PC - 0x240 /* 00000B7C */]
00000DBE 4E5E unlink A6
00000DC0 4E75 rts
fn00000DC2:
00000DC2 4E56 0000 link A6, 0
00000DC6 7002 moveq.l D0, 0x02
00000DC8 2F00 move.l -[A7], D0
00000DCA 7203 moveq.l D1, 0x03
00000DCC 2F01 move.l -[A7], D1
00000DCE 2F3C 4D49 4449 move.l -[A7], 0x4D494449 /* 'MIDI' */
00000DD4 4EBA FDA6 jsr [PC - 0x25A /* 00000B7C */]
00000DD8 4E5E unlink A6
00000DDA 4E75 rts
00000DDC 4E56 0000 link A6, 0
00000DE0 7003 moveq.l D0, 0x03
00000DE2 2F00 move.l -[A7], D0
00000DE4 2F00 move.l -[A7], D0
00000DE6 2F3C 4D49 4449 move.l -[A7], 0x4D494449 /* 'MIDI' */
00000DEC 4EBA FD8E jsr [PC - 0x272 /* 00000B7C */]
00000DF0 4E5E unlink A6
00000DF2 4E75 rts
00000DF4 4E56 0000 link A6, 0
00000DF8 302E 000A move.w D0, [A6 + 0xA]
00000DFC 48C0 ext.l D0
00000DFE 2F00 move.l -[A7], D0
00000E00 7004 moveq.l D0, 0x04
00000E02 2F00 move.l -[A7], D0
00000E04 7203 moveq.l D1, 0x03
00000E06 2F01 move.l -[A7], D1
00000E08 2F3C 4D49 4449 move.l -[A7], 0x4D494449 /* 'MIDI' */
00000E0E 4EBA FD6C jsr [PC - 0x294 /* 00000B7C */]
00000E12 4E5E unlink A6
00000E14 4E75 rts
00000E16 4E56 0000 link A6, 0
00000E1A 302E 000A move.w D0, [A6 + 0xA]
00000E1E 48C0 ext.l D0
00000E20 2F00 move.l -[A7], D0
00000E22 7005 moveq.l D0, 0x05
00000E24 2F00 move.l -[A7], D0
00000E26 7203 moveq.l D1, 0x03
00000E28 2F01 move.l -[A7], D1
00000E2A 2F3C 4D49 4449 move.l -[A7], 0x4D494449 /* 'MIDI' */
00000E30 4EBA FD4A jsr [PC - 0x2B6 /* 00000B7C */]
00000E34 4E5E unlink A6
00000E36 4E75 rts
00000E38 4E56 0000 link A6, 0
00000E3C 302E 000A move.w D0, [A6 + 0xA]
00000E40 48C0 ext.l D0
00000E42 2F00 move.l -[A7], D0
00000E44 7006 moveq.l D0, 0x06
00000E46 2F00 move.l -[A7], D0
00000E48 7203 moveq.l D1, 0x03
00000E4A 2F01 move.l -[A7], D1
00000E4C 2F3C 4D49 4449 move.l -[A7], 0x4D494449 /* 'MIDI' */
00000E52 4EBA FD28 jsr [PC - 0x2D8 /* 00000B7C */]
00000E56 4E5E unlink A6
00000E58 4E75 rts
fn00000E5A:
00000E5A 4E56 FFF8 link A6, -0x0008
00000E5E 48E7 0318 movem.l -[A7], D6,D7,A3,A4
00000E62 3E2E 0012 move.w D7, [A6 + 0x12]
00000E66 266E 0008 movea.l A3, [A6 + 0x8]
00000E6A 598F subq.l A7, 4
00000E6C 2F3C 4353 4E44 move.l -[A7], 0x43534E44 /* 'CSND' */
00000E72 3F2E 000E move.w -[A7], [A6 + 0xE]
00000E76 A9A0 syscall GetResource
00000E78 285F movea.l A4, [A7]+
00000E7A 200C move.l D0, A4
00000E7C 6606 bne +0x8 /* 00000E84 */
00000E7E 7000 moveq.l D0, 0x00
00000E80 6000 00B2 bra +0xB4 /* 00000F34 */
label00000E84:
00000E84 204C movea.l A0, A4
00000E86 A064 syscall MoveHHi
00000E88 204C movea.l A0, A4
00000E8A A029 syscall HLock
00000E8C 2054 movea.l A0, [A4]
00000E8E 4A50 tst.w [A0]
00000E90 6618 bne +0x1A /* 00000EAA */
00000E92 3028 0002 move.w D0, [A0 + 0x2]
00000E96 48C0 ext.l D0
00000E98 323C F000 move.w D1, 0xF000
00000E9C C240 and.w D1, D0
00000E9E 7000 moveq.l D0, 0x00
00000EA0 3001 move.w D0, D1
00000EA2 0C80 0000 6000 cmpi.l D0, 0x6000 /* '`\0' */
00000EA8 6706 beq +0x8 /* 00000EB0 */
label00000EAA:
00000EAA 7000 moveq.l D0, 0x00
00000EAC 6000 0086 bra +0x88 /* 00000F34 */
label00000EB0:
00000EB0 2054 movea.l A0, [A4]
00000EB2 3C28 0004 move.w D6, [A0 + 0x4]
00000EB6 BC47 cmp.w D6, D7
00000EB8 6C04 bge +0x6 /* 00000EBE */
00000EBA 7000 moveq.l D0, 0x00
00000EBC 6076 bra +0x78 /* 00000F34 */
label00000EBE:
00000EBE 2D54 FFFC move.l [A6 - 0x4], [A4]
00000EC2 48C7 ext.l D7
00000EC4 2007 move.l D0, D7
00000EC6 5380 subq.l D0, 1
00000EC8 206E FFFC movea.l A0, [A6 - 0x4]
00000ECC E580 asl D0, 2
00000ECE 2C30 0806 move.l D6, [A0 + D0 + 0x6]
00000ED2 2006 move.l D0, D6
00000ED4 D0AE FFFC add.l D0, [A6 - 0x4]
00000ED8 2D40 FFF8 move.l [A6 - 0x8], D0
00000EDC 2040 movea.l A0, D0
00000EDE 2E10 move.l D7, [A0]
00000EE0 206E FFF8 movea.l A0, [A6 - 0x8]
00000EE4 3C28 0004 move.w D6, [A0 + 0x4]
00000EE8 5088 addq.l A0, 8
00000EEA 2688 move.l [A3], A0
00000EEC 2747 0004 move.l [A3 + 0x4], D7
00000EF0 48C6 ext.l D6
00000EF2 2F06 move.l -[A7], D6
00000EF4 4EBA 0048 jsr [PC + 0x48 /* 00000F3E */]
00000EF8 2740 0008 move.l [A3 + 0x8], D0
00000EFC 177C 003C 0015 move.b [A3 + 0x15], 0x3C /* '<' */
00000F02 206E FFF8 movea.l A0, [A6 - 0x8]
00000F06 226E 0014 movea.l A1, [A6 + 0x14]
00000F0A 12A8 0007 move.b [A1], [A0 + 0x7]
00000F0E 206E FFF8 movea.l A0, [A6 - 0x8]
00000F12 4A68 0006 tst.w [A0 + 0x6]
00000F16 6710 beq +0x12 /* 00000F28 */
00000F18 7000 moveq.l D0, 0x00
00000F1A 2740 000C move.l [A3 + 0xC], D0
00000F1E 2207 move.l D1, D7
00000F20 5381 subq.l D1, 1
00000F22 2741 0010 move.l [A3 + 0x10], D1
00000F26 600A bra +0xC /* 00000F32 */
label00000F28:
00000F28 7000 moveq.l D0, 0x00
00000F2A 2740 000C move.l [A3 + 0xC], D0
00000F2E 2740 0010 move.l [A3 + 0x10], D0
label00000F32:
00000F32 7001 moveq.l D0, 0x01
label00000F34:
00000F34 4CEE 18C0 FFE8 movem.l D6,D7,A3,A4, [A6 - 0x18]
00000F3A 4E5E unlink A6
00000F3C 4E75 rts
fn00000F3E:
00000F3E 4E56 0000 link A6, 0
00000F42 302E 000A move.w D0, [A6 + 0xA]
00000F46 5540 subq.w D0, 2
00000F48 6718 beq +0x1A /* 00000F62 */
00000F4A 5340 subq.w D0, 1
00000F4C 670C beq +0xE /* 00000F5A */
00000F4E 5340 subq.w D0, 1
00000F50 6618 bne +0x1A /* 00000F6A */
00000F52 203C 15BB A2E8 move.l D0, 0x15BBA2E8
00000F58 6016 bra +0x18 /* 00000F70 */
label00000F5A:
00000F5A 203C 1CFA 2E8B move.l D0, 0x1CFA2E8B
00000F60 600E bra +0x10 /* 00000F70 */
label00000F62:
00000F62 203C 2B77 45D1 move.l D0, 0x2B7745D1
00000F68 6006 bra +0x8 /* 00000F70 */
label00000F6A:
00000F6A 203C 56EE 8BA3 move.l D0, 0x56EE8BA3
label00000F70:
00000F70 4E5E unlink A6
00000F72 4E75 rts
00000F74 4E56 FFF6 link A6, -0x000A
00000F78 48E7 0108 movem.l -[A7], D7,A4
00000F7C 286E 0008 movea.l A4, [A6 + 0x8]
00000F80 486E FFFF pea.l [A6 - 0x1]
00000F84 302E 0012 move.w D0, [A6 + 0x12]
00000F88 48C0 ext.l D0
00000F8A 2F00 move.l -[A7], D0
00000F8C 302E 000E move.w D0, [A6 + 0xE]
00000F90 48C0 ext.l D0
00000F92 2F00 move.l -[A7], D0
00000F94 486D EB08 pea.l [A5 - 0x14F8]
00000F98 4EBA FEC0 jsr [PC - 0x140 /* 00000E5A */]
00000F9C 4A00 tst.b D0
00000F9E 4FEF 0010 lea.l A7, [A7 + 0x10]
00000FA2 6606 bne +0x8 /* 00000FAA */
00000FA4 70FC moveq.l D0, 0xFFFFFFFC
00000FA6 6000 00AC bra +0xAE /* 00001054 */
label00000FAA:
00000FAA 2F0C move.l -[A7], A4
00000FAC 4EBA FCEA jsr [PC - 0x316 /* 00000C98 */]
00000FB0 3E00 move.w D7, D0
00000FB2 584F addq.w A7, 4
00000FB4 6706 beq +0x8 /* 00000FBC */
00000FB6 3007 move.w D0, D7
00000FB8 6000 009A bra +0x9C /* 00001054 */
label00000FBC:
00000FBC 7005 moveq.l D0, 0x05
00000FBE 2F00 move.l -[A7], D0
00000FC0 1214 move.b D1, [A4]
00000FC2 4881 ext.w D1
00000FC4 48C1 ext.l D1
00000FC6 2F01 move.l -[A7], D1
00000FC8 4EBA FCEA jsr [PC - 0x316 /* 00000CB4 */]
00000FCC 3E00 move.w D7, D0
00000FCE 504F addq.w A7, 8
00000FD0 6704 beq +0x6 /* 00000FD6 */
00000FD2 3007 move.w D0, D7
00000FD4 607E bra +0x80 /* 00001054 */
label00000FD6:
00000FD6 426E FFF8 clr.w [A6 - 0x8]
00000FDA 41ED EB08 lea.l A0, [A5 - 0x14F8]
00000FDE 2008 move.l D0, A0
00000FE0 A055 syscall StripAddress
00000FE2 2D40 FFFA move.l [A6 - 0x6], D0
00000FE6 4A2E FFFF tst.b [A6 - 0x1]
00000FEA 6746 beq +0x48 /* 00001032 */
00000FEC 3D7C 0050 FFF6 move.w [A6 - 0xA], 0x50 /* 'P' */
00000FF2 486E FFF6 pea.l [A6 - 0xA]
00000FF6 1014 move.b D0, [A4]
00000FF8 4880 ext.w D0
00000FFA 48C0 ext.l D0
00000FFC 2F00 move.l -[A7], D0
00000FFE 4EBA FCE0 jsr [PC - 0x320 /* 00000CE0 */]
00001002 3E00 move.w D7, D0
00001004 504F addq.w A7, 8
00001006 6704 beq +0x6 /* 0000100C */
00001008 3007 move.w D0, D7
0000100A 6048 bra +0x4A /* 00001054 */
label0000100C:
0000100C 3D7C 002A FFF6 move.w [A6 - 0xA], 0x2A /* '*' */
00001012 703C moveq.l D0, 0x3C
00001014 2D40 FFFA move.l [A6 - 0x6], D0
00001018 486E FFF6 pea.l [A6 - 0xA]
0000101C 1014 move.b D0, [A4]
0000101E 4880 ext.w D0
00001020 48C0 ext.l D0
00001022 2F00 move.l -[A7], D0
00001024 4EBA FCBA jsr [PC - 0x346 /* 00000CE0 */]
00001028 3E00 move.w D7, D0
0000102A 504F addq.w A7, 8
0000102C 6724 beq +0x26 /* 00001052 */
0000102E 3007 move.w D0, D7
00001030 6022 bra +0x24 /* 00001054 */
label00001032:
00001032 3D7C 0051 FFF6 move.w [A6 - 0xA], 0x51 /* 'Q' */
00001038 486E FFF6 pea.l [A6 - 0xA]
0000103C 1014 move.b D0, [A4]
0000103E 4880 ext.w D0
00001040 48C0 ext.l D0
00001042 2F00 move.l -[A7], D0
00001044 4EBA FC9A jsr [PC - 0x366 /* 00000CE0 */]
00001048 3E00 move.w D7, D0
0000104A 504F addq.w A7, 8
0000104C 6704 beq +0x6 /* 00001052 */
0000104E 3007 move.w D0, D7
00001050 6002 bra +0x4 /* 00001054 */
label00001052:
00001052 7000 moveq.l D0, 0x00
label00001054:
00001054 4CEE 1080 FFEE movem.l D7,A4, [A6 - 0x12]
0000105A 4E5E unlink A6
0000105C 4E75 rts
label0000105E:
0000105E 202F 0008 move.l D0, [A7 + 0x8]
00001062 222F 0004 move.l D1, [A7 + 0x4]
00001066 598F subq.l A7, 4
00001068 2F00 move.l -[A7], D0
0000106A 2F01 move.l -[A7], D1
0000106C 4EAD 1052 jsr [A5 + 0x1052 /* export_518 */]
00001070 221F move.l D1, [A7]+
00001072 202F 0008 move.l D0, [A7 + 0x8]
00001076 0280 0000 000F andi.l D0, 0xF
0000107C 5480 addq.l D0, 2
0000107E E548 lsl D0.w, 2
00001080 205F movea.l A0, [A7]+
00001082 DFC0 add.l A7, D0
00001084 2E81 move.l [A7], D1
00001086 4ED0 jmp [A0]
fn00001088:
00001088 206F 0004 movea.l A0, [A7 + 0x4]
0000108C 2050 movea.l A0, [A0]
0000108E 2050 movea.l A0, [A0]
00001090 4ED0 jmp [A0]
00001092 224F movea.l A1, A7
00001094 598F subq.l A7, 4
00001096 3029 0010 move.w D0, [A1 + 0x10]
0000109A 6F0E ble +0x10 /* 000010AA */
0000109C 2069 000C movea.l A0, [A1 + 0xC]
000010A0 5340 subq.w D0, 1
label000010A2:
000010A2 5488 addq.l A0, 2
000010A4 2F18 move.l -[A7], [A0]+
000010A6 51C8 FFFA dbf D0, -0x8 /* 000010A2 */
label000010AA:
000010AA 2F29 0008 move.l -[A7], [A1 + 0x8]
000010AE 2F29 0004 move.l -[A7], [A1 + 0x4]
000010B2 4EBA FFD4 jsr [PC - 0x2C /* 00001088 */]
000010B6 201F move.l D0, [A7]+
000010B8 2057 movea.l A0, [A7]
000010BA DEFC 0012 add.w A7, 0x12
000010BE 2E80 move.l [A7], D0
000010C0 4ED0 jmp [A0]
000010C2 302F 000A move.w D0, [A7 + 0xA]
000010C6 0C40 FF42 cmpi.w D0, 0xFF42
000010CA 6604 bne +0x6 /* 000010D0 */
000010CC 4EED 0FEA jmp [A5 + 0xFEA /* export_505 */]
label000010D0:
000010D0 206F 0004 movea.l A0, [A7 + 0x4]
000010D4 2050 movea.l A0, [A0]
000010D6 2068 0008 movea.l A0, [A0 + 0x8]
000010DA 2050 movea.l A0, [A0]
000010DC 2068 0004 movea.l A0, [A0 + 0x4]
000010E0 4ED0 jmp [A0]
000010E2 594F subq.w A7, 4
000010E4 2F2F 0008 move.l -[A7], [A7 + 0x8]
000010E8 4EAD 106A jsr [A5 + 0x106A /* export_521 */]
000010EC 201F move.l D0, [A7]+
000010EE 6704 beq +0x6 /* 000010F4 */
000010F0 2040 movea.l A0, D0
000010F2 4ED0 jmp [A0]
label000010F4:
000010F4 4EFA FF68 jmp [PC - 0x98 /* 0000105E */]
000010F8 302F 000A move.w D0, [A7 + 0xA]
000010FC 0C40 FF42 cmpi.w D0, 0xFF42
00001100 6600 FF5C bne -0xA2 /* 0000105E */
00001104 4EED 0F62 jmp [A5 + 0xF62 /* export_488 */]
00001108 302F 000A move.w D0, [A7 + 0xA]
0000110C 0C40 FF42 cmpi.w D0, 0xFF42
00001110 6600 FF4C bne -0xB2 /* 0000105E */
00001114 4EED 0F5A jmp [A5 + 0xF5A /* export_487 */]
00001118 302F 000A move.w D0, [A7 + 0xA]
0000111C E040 asr D0.w, 8
0000111E 5240 addq.w D0, 1
00001120 E548 lsl D0.w, 2
00001122 6D00 FF3A blt -0xC4 /* 0000105E */
00001126 0C40 0044 cmpi.w D0, 0x44 /* 'D' */
0000112A 6E00 FF32 bgt -0xCC /* 0000105E */
0000112E 41FA 0006 lea.l A0, [PC + 0x6 /* 00001136, value 0x4EED0FE2 */]
00001132 4EF0 0000 jmp [A0 + D0.w]
00001136 4EED 0FE2 jmp [A5 + 0xFE2 /* export_504 */]
0000113A 4EFA FF22 jmp [PC - 0xDE /* 0000105E */]
0000113E 4EED 105A jmp [A5 + 0x105A /* export_519 */]
00001142 4EFA FF1A jmp [PC - 0xE6 /* 0000105E */]
00001146 4EED 1062 jmp [A5 + 0x1062 /* export_520 */]
0000114A 4EED 0FF2 jmp [A5 + 0xFF2 /* export_506 */]
0000114E 4EED 0FFA jmp [A5 + 0xFFA /* export_507 */]
00001152 4EED 1002 jmp [A5 + 0x1002 /* export_508 */]
00001156 4EED 103A jmp [A5 + 0x103A /* export_515 */]
0000115A 4EED 104A jmp [A5 + 0x104A /* export_517 */]
0000115E 4EED 101A jmp [A5 + 0x101A /* export_511 */]
00001162 4EED 1022 jmp [A5 + 0x1022 /* export_512 */]
00001166 4EED 102A jmp [A5 + 0x102A /* export_513 */]
0000116A 4EED 1032 jmp [A5 + 0x1032 /* export_514 */]
0000116E 4EED 1042 jmp [A5 + 0x1042 /* export_516 */]
00001172 4EED 100A jmp [A5 + 0x100A /* export_509 */]
00001176 4EED 1012 jmp [A5 + 0x1012 /* export_510 */]
0000117A 4EED 0F9A jmp [A5 + 0xF9A /* export_495 */]
fn0000117E:
0000117E 205F movea.l A0, [A7]+
00001180 2278 0904 movea.l A1, [0x00000904 /* CurrentA5 */]
00001184 2251 movea.l A1, [A1]
00001186 43E9 FFF0 lea.l A1, [A1 - 0x10]
0000118A 2E89 move.l [A7], A1
0000118C 4ED0 jmp [A0]
fn0000118E:
0000118E 205F movea.l A0, [A7]+
00001190 2278 0904 movea.l A1, [0x00000904 /* CurrentA5 */]
00001194 2251 movea.l A1, [A1]
00001196 43E9 FF86 lea.l A1, [A1 - 0x7A]
0000119A 2E89 move.l [A7], A1
0000119C 4ED0 jmp [A0]
0000119E 4E56 0000 link A6, 0
000011A2 48E7 1F38 movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4
000011A6 4240 clr.w D0
000011A8 246E 0008 movea.l A2, [A6 + 0x8]
000011AC 7A00 moveq.l D5, 0x00
000011AE 1A1A move.b D5, [A2]+
000011B0 6700 0122 beq +0x124 /* 000012D4 */
000011B4 286E 0010 movea.l A4, [A6 + 0x10]
000011B8 204C movea.l A0, A4
000011BA A025 syscall GetHandleSize
000011BC 4A80 tst.l D0
000011BE 6B00 0114 bmi +0x116 /* 000012D4 */
000011C2 2E00 move.l D7, D0
000011C4 2854 movea.l A4, [A4]
000011C6 266E 000C movea.l A3, [A6 + 0xC]
000011CA 204B movea.l A0, A3
000011CC A025 syscall GetHandleSize
000011CE 4A80 tst.l D0
000011D0 6B00 0102 bmi +0x104 /* 000012D4 */
000011D4 2C00 move.l D6, D0
000011D6 2653 movea.l A3, [A3]
000011D8 9C45 sub.w D6, D5
000011DA 7800 moveq.l D4, 0x00
000011DC 7600 moveq.l D3, 0x00
000011DE 7200 moveq.l D1, 0x00
000011E0 3407 move.w D2, D7
000011E2 9445 sub.w D2, D5
000011E4 5345 subq.w D5, 1
000011E6 601E bra +0x20 /* 00001206 */
label000011E8:
000011E8 5241 addq.w D1, 1
000011EA 48A7 6000 movem.w -[A7], D1,D2
000011EE 554F subq.w A7, 2
000011F0 2F0C move.l -[A7], A4
000011F2 3F01 move.w -[A7], D1
000011F4 2F3C 8206 0010 move.l -[A7], 0x82060010
000011FA A8B5 syscall ScriptUtil
000011FC 4A5F tst.w [A7]+
000011FE 4C9F 0006 movem.w D1,D2, [A7]+
00001202 6F02 ble +0x4 /* 00001206 */
00001204 5241 addq.w D1, 1
label00001206:
00001206 B242 cmp.w D1, D2
00001208 6E1E bgt +0x20 /* 00001228 */
0000120A 41F4 1000 lea.l A0, [A4 + D1.w]
0000120E 224A movea.l A1, A2
00001210 3005 move.w D0, D5
label00001212:
00001212 B308 cmpm.b [A1]+, [A0]+
00001214 56C8 FFFC dbne D0, -0x6 /* 00001212 */
00001218 4A40 tst.w D0
0000121A 6ACC bpl -0x32 /* 000011E8 */
0000121C 3F01 move.w -[A7], D1
0000121E 5243 addq.w D3, 1
00001220 D846 add.w D4, D6
00001222 D245 add.w D1, D5
00001224 5241 addq.w D1, 1
00001226 60DE bra -0x20 /* 00001206 */
label00001228:
00001228 5245 addq.w D5, 1
0000122A 4A43 tst.w D3
0000122C 6700 00A0 beq +0xA2 /* 000012CE */
00001230 4A46 tst.w D6
00001232 6E4C bgt +0x4E /* 00001280 */
00001234 244F movea.l A2, A7
00001236 D4C3 add.w A2, D3
00001238 D4C3 add.w A2, D3
0000123A 220C move.l D1, A4
0000123C D287 add.l D1, D7
0000123E DC45 add.w D6, D5
00001240 240C move.l D2, A4
00001242 D8E2 add.w A4, -[A2]
00001244 224C movea.l A1, A4
00001246 600C bra +0xE /* 00001254 */
label00001248:
00001248 B28C cmp.l D1, A4
0000124A 6320 bls +0x22 /* 0000126C */
0000124C B1CC cmpa.l A0, A4
0000124E 6704 beq +0x6 /* 00001254 */
00001250 12DC move.b [A1]+, [A4]+
00001252 60F4 bra -0xA /* 00001248 */
label00001254:
00001254 204B movea.l A0, A3
00001256 3006 move.w D0, D6
00001258 6002 bra +0x4 /* 0000125C */
label0000125A:
0000125A 12D8 move.b [A1]+, [A0]+
label0000125C:
0000125C 51C8 FFFC dbf D0, -0x6 /* 0000125A */
00001260 D8C5 add.w A4, D5
00001262 B5CF cmpa.l A2, A7
00001264 63E2 bls -0x1C /* 00001248 */
00001266 2042 movea.l A0, D2
00001268 D0E2 add.w A0, -[A2]
0000126A 60DC bra -0x22 /* 00001248 */
label0000126C:
0000126C 4A44 tst.w D4
0000126E 675E beq +0x60 /* 000012CE */
00001270 206E 0010 movea.l A0, [A6 + 0x10]
00001274 3004 move.w D0, D4
00001276 48C0 ext.l D0
00001278 D087 add.l D0, D7
0000127A A024 syscall SetHandleSize
0000127C 6B52 bmi +0x54 /* 000012D0 */
0000127E 604E bra +0x50 /* 000012CE */
label00001280:
00001280 286E 0010 movea.l A4, [A6 + 0x10]
00001284 204C movea.l A0, A4
00001286 3004 move.w D0, D4
00001288 48C0 ext.l D0
0000128A D087 add.l D0, D7
0000128C A024 syscall SetHandleSize
0000128E 6B40 bmi +0x42 /* 000012D0 */
00001290 2854 movea.l A4, [A4]
00001292 266E 000C movea.l A3, [A6 + 0xC]
00001296 2653 movea.l A3, [A3]
00001298 244F movea.l A2, A7
0000129A 204C movea.l A0, A4
0000129C D8C7 add.w A4, D7
0000129E DC45 add.w D6, D5
000012A0 224C movea.l A1, A4
000012A2 D2C4 add.w A1, D4
000012A4 D6C6 add.w A3, D6
000012A6 D0C5 add.w A0, D5
000012A8 2408 move.l D2, A0
000012AA D0DA add.w A0, [A2]+
000012AC 3203 move.w D1, D3
label000012AE:
000012AE B1CC cmpa.l A0, A4
000012B0 6704 beq +0x6 /* 000012B6 */
000012B2 1324 move.b -[A1], -[A4]
000012B4 60F8 bra -0x6 /* 000012AE */
label000012B6:
000012B6 204B movea.l A0, A3
000012B8 3006 move.w D0, D6
000012BA 6002 bra +0x4 /* 000012BE */
label000012BC:
000012BC 1320 move.b -[A1], -[A0]
label000012BE:
000012BE 51C8 FFFC dbf D0, -0x6 /* 000012BC */
000012C2 5341 subq.w D1, 1
000012C4 6F08 ble +0xA /* 000012CE */
000012C6 2042 movea.l A0, D2
000012C8 D0DA add.w A0, [A2]+
000012CA 98C5 sub.w A4, D5
000012CC 60E0 bra -0x1E /* 000012AE */
label000012CE:
000012CE 3003 move.w D0, D3
label000012D0:
000012D0 D643 add.w D3, D3
000012D2 DEC3 add.w A7, D3
label000012D4:
000012D4 3D40 0014 move.w [A6 + 0x14], D0
000012D8 4CDF 1CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
000012DC 303C 000C move.w D0, 0xC
000012E0 4E5E unlink A6
000012E2 205F movea.l A0, [A7]+
000012E4 DEC0 add.w A7, D0
000012E6 4ED0 jmp [A0]
000012E8 241F move.l D2, [A7]+
000012EA 201F move.l D0, [A7]+
000012EC 225F movea.l A1, [A7]+
000012EE 205F movea.l A0, [A7]+
000012F0 2F02 move.l -[A7], D2
000012F2 4241 clr.w D1
000012F4 1210 move.b D1, [A0]
000012F6 1428 0001 move.b D2, [A0 + 0x1]
000012FA 2040 movea.l A0, D0
000012FC 4210 clr.b [A0]
000012FE 1171 1000 0001 move.b [A0 + 0x1], [A1 + D1.w]
00001304 0C50 0002 cmpi.w [A0], 0x2
00001308 6706 beq +0x8 /* 00001310 */
0000130A 3F41 0004 move.w [A7 + 0x4], D1
0000130E 4E75 rts
label00001310:
00001310 1F41 0004 move.b [A7 + 0x4], D1
00001314 1F42 0005 move.b [A7 + 0x5], D2
00001318 4E75 rts
0000131A 205F movea.l A0, [A7]+
0000131C 225F movea.l A1, [A7]+
0000131E 301F move.w D0, [A7]+
00001320 7200 moveq.l D1, 0x00
00001322 3200 move.w D1, D0
00001324 0241 FF00 andi.w D1, 0xFF00
00001328 3400 move.w D2, D0
0000132A 0242 00FF andi.w D2, 0xFF
0000132E EC89 lsr D1, 6
00001330 2271 1000 movea.l A1, [A1 + D1.w]
00001334 B2FC 0000 cmpa.w A1, 0x0
00001338 670A beq +0xC /* 00001344 */
0000133A 2251 movea.l A1, [A1]
0000133C E54A lsl D2.w, 2
0000133E 2EB1 2000 move.l [A7], [A1 + D2.w]
00001342 4ED0 jmp [A0]
label00001344:
00001344 4297 clr.l [A7]
00001346 3F40 0002 move.w [A7 + 0x2], D0
0000134A 4ED0 jmp [A0]
fn0000134C:
0000134C 4E56 0000 link A6, 0
00001350 48E7 0118 movem.l -[A7], D7,A3,A4
00001354 266E 0008 movea.l A3, [A6 + 0x8]
00001358 286E 000C movea.l A4, [A6 + 0xC]
0000135C 3E2E 0010 move.w D7, [A6 + 0x10]
00001360 6608 bne +0xA /* 0000136A */
00001362 4254 clr.w [A4]
00001364 36BC 3FFF move.w [A3], 0x3FFF
00001368 6060 bra +0x62 /* 000013CA */
label0000136A:
0000136A 7001 moveq.l D0, 0x01
0000136C B047 cmp.w D0, D7
0000136E 5FC0 sle D0
00001370 4A00 tst.b D0
00001372 6720 beq +0x22 /* 00001394 */
00001374 7220 moveq.l D1, 0x20
00001376 B247 cmp.w D1, D7
00001378 5CC1 sge D1
0000137A C001 and.b D0, D1
0000137C 6716 beq +0x18 /* 00001394 */
0000137E 3007 move.w D0, D7
00001380 5340 subq.w D0, 1
00001382 C1FC 0200 muls.w D0, 0x200
00001386 D07C 4000 add.w D0, 0x4000 /* '@\0' */
0000138A 3880 move.w [A4], D0
0000138C D07C 01FF add.w D0, 0x1FF
00001390 3680 move.w [A3], D0
00001392 6036 bra +0x38 /* 000013CA */
label00001394:
00001394 7021 moveq.l D0, 0x21
00001396 B047 cmp.w D0, D7
00001398 5FC0 sle D0
0000139A 4A00 tst.b D0
0000139C 6726 beq +0x28 /* 000013C4 */
0000139E 7240 moveq.l D1, 0x40
000013A0 B247 cmp.w D1, D7
000013A2 5CC1 sge D1
000013A4 C001 and.b D0, D1
000013A6 671C beq +0x1E /* 000013C4 */
000013A8 3007 move.w D0, D7
000013AA 907C 0021 sub.w D0, 0x21 /* '!' */
000013AE C1FC 0200 muls.w D0, 0x200
000013B2 48C0 ext.l D0
000013B4 D0BC FFFF 8000 add.l D0, 0xFFFF8000
000013BA 3880 move.w [A4], D0
000013BC D07C 01FF add.w D0, 0x1FF
000013C0 3680 move.w [A3], D0
000013C2 6006 bra +0x8 /* 000013CA */
label000013C4:
000013C4 487A 0012 pea.l [PC + 0x12 /* 000013D8, value 0x2B476574 '+Get', pstring "GetResourceIDRangeForScript: Bad scriptCode" */]
000013C8 ABFF syscall DebugStr
label000013CA:
000013CA 4CDF 1880 movem.l D7,A3,A4, [A7]+
000013CE 4E5E unlink A6
000013D0 205F movea.l A0, [A7]+
000013D2 DEFC 000A add.w A7, 0xA /* '\n' */
000013D6 4ED0 jmp [A0]
000013D8 2B47 6574 move.l [A5 + 0x6574], D7
000013DC 5265 addq.w -[A5], 1
000013DE 736F moveq.l D1, 0x6F
000013E0 7572 moveq.l D2, 0x72
000013E2 6365 bls +0x67 /* 00001449 */
000013E4 4944 chk.w D4, D4
000013E6 5261 addq.w -[A1], 1
000013E8 6E67 bgt +0x69 /* 00001451 */
000013EA 6546 bcs +0x48 /* 00001432 */
000013EC 6F72 ble +0x74 /* 00001460 */
000013EE 5363 subq.w -[A3], 1
000013F0 7269 moveq.l D1, 0x69
000013F2 7074 moveq.l D0, 0x74
000013F4 3A20 move.w D5, -[A0]
000013F6 4261 clr.w -[A1]
000013F8 6420 bcc +0x22 /* 0000141A */
000013FA 7363 moveq.l D1, 0x63
000013FC 7269 moveq.l D1, 0x69
000013FE 7074 moveq.l D0, 0x74
00001400 436F 6465 chk.w D1, [A7 + 0x6465]
00001404 4E56 FFF6 link A6, -0x000A
00001408 486E FFFC pea.l [A6 - 0x4]
0000140C A874 syscall GetPort
0000140E 206E FFFC movea.l A0, [A6 - 0x4]
00001412 3D68 0044 FFFA move.w [A6 - 0x6], [A0 + 0x44]
00001418 3F2E 0008 move.w -[A7], [A6 + 0x8]
// begin alternate branch 0000141A-00001420
label0000141A:
0000141A 0008 486E ori.b A0, 0x6E /* 'n' */
0000141E FFF8 .invalid <<F/7/7>>
// end alternate branch 0000141A-00001420
label0000141A: // (misaligned)
0000141C 486E FFF8 pea.l [A6 - 0x8]
00001420 486E FFF6 pea.l [A6 - 0xA]
00001424 4EBA FF26 jsr [PC - 0xDA /* 0000134C */]
00001428 3F2E FFF6 move.w -[A7], [A6 - 0xA]
0000142C A887 syscall TextFont
0000142E 4267 clr.w -[A7]
00001430 2F2E 000C move.l -[A7], [A6 + 0xC]
// begin alternate branch 00001432-00001440
label00001432:
00001432 000C 3F2E ori.b A4, 0x2E /* '.' */
00001436 000A 2F3C ori.b A2, 0x3C /* '<' */
0000143A 8206 or.b D1, D6
0000143C 0010 A8B5 ori.b [A0], 0xB5
// end alternate branch 00001432-00001440
label00001432: // (misaligned)
00001434 3F2E 000A move.w -[A7], [A6 + 0xA]
00001438 2F3C 8206 0010 move.l -[A7], 0x82060010
0000143E A8B5 syscall ScriptUtil
00001440 3D5F 0010 move.w [A6 + 0x10], [A7]+
00001444 3F2E FFFA move.w -[A7], [A6 - 0x6]
00001448 A887 syscall TextFont
0000144A 4E5E unlink A6
0000144C 205F movea.l A0, [A7]+
0000144E 504F addq.w A7, 8
00001450 4ED0 jmp [A0]
00001452 4E56 FDFE link A6, -0x0202
00001456 206E 000A movea.l A0, [A6 + 0xA]
0000145A 4240 clr.w D0
0000145C 1010 move.b D0, [A0]
0000145E B06E 0008 cmp.w D0, [A6 + 0x8]
// begin alternate branch 00001460-00001464
label00001460:
00001460 0008 6E04 ori.b A0, 0x4
// end alternate branch 00001460-00001464
label00001460: // (misaligned)
00001462 6E04 bgt +0x6 /* 00001468 */
00001464 6000 00A2 bra +0xA4 /* 00001508 */
label00001468:
00001468 486E FF00 pea.l [A6 - 0x100]
0000146C 2F3C 0001 0080 move.l -[A7], 0x10080
00001472 4EBA 14FE jsr [PC + 0x14FE /* 00002972 */]
00001476 4240 clr.w D0
00001478 102E FF00 move.b D0, [A6 - 0x100]
0000147C B06E 0008 cmp.w D0, [A6 + 0x8]
00001480 6F08 ble +0xA /* 0000148A */
00001482 206E 000A movea.l A0, [A6 + 0xA]
00001486 4210 clr.b [A0]
00001488 607E bra +0x80 /* 00001508 */
label0000148A:
0000148A 206E 000A movea.l A0, [A6 + 0xA]
0000148E 2248 movea.l A1, A0
00001490 4240 clr.w D0
00001492 1011 move.b D0, [A1]
00001494 5340 subq.w D0, 1
00001496 1080 move.b [A0], D0
00001498 4267 clr.w -[A7]
0000149A 206E 000A movea.l A0, [A6 + 0xA]
0000149E 4868 0001 pea.l [A0 + 0x1]
000014A2 4240 clr.w D0
000014A4 1010 move.b D0, [A0]
000014A6 5340 subq.w D0, 1
000014A8 3F00 move.w -[A7], D0
000014AA 2F3C 8206 0010 move.l -[A7], 0x82060010
000014B0 A8B5 syscall ScriptUtil
000014B2 3D5F FEFE move.w [A6 - 0x102], [A7]+
000014B6 57C0 seq D0
000014B8 4A00 tst.b D0
000014BA 660C bne +0xE /* 000014C8 */
000014BC 7201 moveq.l D1, 0x01
000014BE B26E FEFE cmp.w D1, [A6 - 0x102]
000014C2 57C1 seq D1
000014C4 8001 or.b D0, D1
000014C6 67C2 beq -0x3C /* 0000148A */
label000014C8:
000014C8 206E 000A movea.l A0, [A6 + 0xA]
000014CC 4240 clr.w D0
000014CE 1010 move.b D0, [A0]
000014D0 4241 clr.w D1
000014D2 122E FF00 move.b D1, [A6 - 0x100]
000014D6 342E 0008 move.w D2, [A6 + 0x8]
000014DA 9441 sub.w D2, D1
000014DC B440 cmp.w D2, D0
000014DE 6DAA blt -0x54 /* 0000148A */
000014E0 206E 000A movea.l A0, [A6 + 0xA]
000014E4 2F08 move.l -[A7], A0
000014E6 2F2E 000A move.l -[A7], [A6 + 0xA]
000014EA 486E FF00 pea.l [A6 - 0x100]
000014EE 486E FDFE pea.l [A6 - 0x202]
000014F2 3F3C 0002 move.w -[A7], 0x2
000014F6 4EBA 1EBC jsr [PC + 0x1EBC /* 000033B4 */]
000014FA 205F movea.l A0, [A7]+
000014FC 43EE FDFE lea.l A1, [A6 - 0x202]
00001500 703F moveq.l D0, 0x3F
label00001502:
00001502 20D9 move.l [A0]+, [A1]+
00001504 51C8 FFFC dbf D0, -0x6 /* 00001502 */
label00001508:
00001508 4E5E unlink A6
0000150A 205F movea.l A0, [A7]+
0000150C 5C4F addq.w A7, 6
0000150E 4ED0 jmp [A0]
00001510 4E56 FFF8 link A6, -0x0008
00001514 486E FFFC pea.l [A6 - 0x4]
00001518 A874 syscall GetPort
0000151A 206E FFFC movea.l A0, [A6 - 0x4]
0000151E 3D68 0044 FFFA move.w [A6 - 0x6], [A0 + 0x44]
00001524 4267 clr.w -[A7]
00001526 A887 syscall TextFont
00001528 422D EF21 clr.b [A5 - 0x10DF]
0000152C 426E FFF8 clr.w [A6 - 0x8]
00001530 6052 bra +0x54 /* 00001584 */
label00001532:
00001532 4267 clr.w -[A7]
00001534 41EE FFF8 lea.l A0, [A6 - 0x8]
00001538 2008 move.l D0, A0
0000153A 5280 addq.l D0, 1
0000153C 2F00 move.l -[A7], D0
0000153E 4267 clr.w -[A7]
00001540 2F3C 8206 0010 move.l -[A7], 0x82060010
00001546 A8B5 syscall ScriptUtil
00001548 301F move.w D0, [A7]+
0000154A 5240 addq.w D0, 1
0000154C 6716 beq +0x18 /* 00001564 */
0000154E 5340 subq.w D0, 1
00001550 6702 beq +0x4 /* 00001554 */
00001552 6026 bra +0x28 /* 0000157A */
label00001554:
00001554 302E FFF8 move.w D0, [A6 - 0x8]
00001558 41ED EF22 lea.l A0, [A5 - 0x10DE]
0000155C 11BC 0001 0000 move.b [A0 + D0.w], 0x1
00001562 601C bra +0x1E /* 00001580 */
label00001564:
00001564 302E FFF8 move.w D0, [A6 - 0x8]
00001568 41ED EF22 lea.l A0, [A5 - 0x10DE]
0000156C 11BC 0002 0000 move.b [A0 + D0.w], 0x2
00001572 1B7C 0001 EF21 move.b [A5 - 0x10DF], 0x1
00001578 6006 bra +0x8 /* 00001580 */
label0000157A:
0000157A 487A 001A pea.l [PC + 0x1A /* 00001596, value 0x17496E69, pstring "InitSystemCharSizeTable" */]
0000157E ABFF syscall DebugStr
label00001580:
00001580 526E FFF8 addq.w [A6 - 0x8], 1
label00001584:
00001584 0C6E 00FF FFF8 cmpi.w [A6 - 0x8], 0xFF
0000158A 6FA6 ble -0x58 /* 00001532 */
0000158C 3F2E FFFA move.w -[A7], [A6 - 0x6]
00001590 A887 syscall TextFont
00001592 4E5E unlink A6
00001594 4E75 rts
00001596 1749 6E69 move.b [A3 + 0x6E69], A1
0000159A 7453 moveq.l D2, 0x53
0000159C 7973 moveq.l D4, 0x73
0000159E 7465 moveq.l D2, 0x65
000015A0 6D43 blt +0x45 /* 000015E5 */
000015A2 6861 bvc +0x63 /* 00001605 */
000015A4 7253 moveq.l D1, 0x53
000015A6 697A bvs +0x7C /* 00001622 */
000015A8 6554 bcs +0x56 /* 000015FE */
000015AA 6162 bsr +0x64 /* 0000160E */
000015AC 6C65 bge +0x67 /* 00001613 */
000015AE 4E56 FFFC link A6, -0x0004
000015B2 48E7 0300 movem.l -[A7], D6,D7
000015B6 42A7 clr.l -[A7]
000015B8 3F3C 0012 move.w -[A7], 0x12
000015BC 2F3C 8402 0008 move.l -[A7], 0x84020008
000015C2 A8B5 syscall ScriptUtil
000015C4 201F move.l D0, [A7]+
000015C6 E180 asl D0, 8
000015C8 3C00 move.w D6, D0
000015CA 4247 clr.w D7
000015CC 6028 bra +0x2A /* 000015F6 */
label000015CE:
000015CE 3007 move.w D0, D7
000015D0 41ED EB20 lea.l A0, [A5 - 0x14E0]
000015D4 E540 asl D0.w, 2
000015D6 48E7 8080 movem.l -[A7], D0,A0
000015DA 42A7 clr.l -[A7]
000015DC 2F3C 434D 4150 move.l -[A7], 0x434D4150 /* 'CMAP' */
000015E2 3206 move.w D1, D6
000015E4 D247 add.w D1, D7
000015E6 3F01 move.w -[A7], D1
000015E8 A9A0 syscall GetResource
000015EA 221F move.l D1, [A7]+
000015EC 4CDF 0101 movem.l D0,A0, [A7]+
000015F0 2181 0000 move.l [A0 + D0.w], D1
000015F4 5247 addq.w D7, 1
label000015F6:
000015F6 0C47 00FF cmpi.w D7, 0xFF
000015FA 6FD2 ble -0x2C /* 000015CE */
000015FC 4CDF 00C0 movem.l D6,D7, [A7]+
// begin alternate branch 000015FE-00001600
label000015FE:
000015FE 00C0 .incomplete
// end alternate branch 000015FE-00001600
label000015FE: // (misaligned)
00001600 4E5E unlink A6
00001602 4E75 rts
fn00001604:
00001604 4E56 FFFE link A6, -0x0002
00001608 48E7 0308 movem.l -[A7], D6,D7,A4
0000160C 286E 000A movea.l A4, [A6 + 0xA]
// begin alternate branch 0000160E-00001616
fn0000160E:
0000160E 000A 3C2E ori.b A2, 0x2E /* '.' */
00001612 0008 4247 ori.b A0, 0x47 /* 'G' */
// end alternate branch 0000160E-00001616
fn0000160E: // (misaligned)
00001610 3C2E 0008 move.w D6, [A6 + 0x8]
00001614 4247 clr.w D7
00001616 1E14 move.b D7, [A4]
00001618 7000 moveq.l D0, 0x00
0000161A 3006 move.w D0, D6
0000161C C0BC FFFF FF00 and.l D0, 0xFFFFFF00
label00001622:
00001622 4A80 tst.l D0
00001624 672E beq +0x30 /* 00001654 */
00001626 0C47 00FE cmpi.w D7, 0xFE
0000162A 6E3C bgt +0x3E /* 00001668 */
0000162C 3007 move.w D0, D7
0000162E 5240 addq.w D0, 1
00001630 7200 moveq.l D1, 0x00
00001632 3206 move.w D1, D6
00001634 E089 lsr D1, 8
00001636 1981 0000 move.b [A4 + D0.w], D1
0000163A 3007 move.w D0, D7
0000163C 5440 addq.w D0, 2
0000163E 7200 moveq.l D1, 0x00
00001640 3206 move.w D1, D6
00001642 C2BC 0000 00FF and.l D1, 0xFF
00001648 1981 0000 move.b [A4 + D0.w], D1
0000164C 3007 move.w D0, D7
0000164E 5440 addq.w D0, 2
00001650 1880 move.b [A4], D0
00001652 6014 bra +0x16 /* 00001668 */
label00001654:
00001654 0C47 00FF cmpi.w D7, 0xFF
00001658 6E0E bgt +0x10 /* 00001668 */
0000165A 3007 move.w D0, D7
0000165C 5240 addq.w D0, 1
0000165E 1986 0000 move.b [A4 + D0.w], D6
00001662 3007 move.w D0, D7
00001664 5240 addq.w D0, 1
00001666 1880 move.b [A4], D0
label00001668:
00001668 4CDF 10C0 movem.l D6,D7,A4, [A7]+
0000166C 4E5E unlink A6
0000166E 205F movea.l A0, [A7]+
00001670 5C4F addq.w A7, 6
00001672 4ED0 jmp [A0]
fn00001674:
00001674 4E56 FFFA link A6, -0x0006
00001678 7000 moveq.l D0, 0x00
0000167A 302E 0008 move.w D0, [A6 + 0x8]
0000167E C0BC FFFF FF00 and.l D0, 0xFFFFFF00
00001684 4A80 tst.l D0
00001686 6622 bne +0x24 /* 000016AA */
00001688 4267 clr.w -[A7]
0000168A 41EE 0008 lea.l A0, [A6 + 0x8]
0000168E 2008 move.l D0, A0
00001690 5280 addq.l D0, 1
00001692 2F00 move.l -[A7], D0
00001694 4267 clr.w -[A7]
00001696 2F3C 8206 0010 move.l -[A7], 0x82060010
0000169C A8B5 syscall ScriptUtil
0000169E 4A5F tst.w [A7]+
000016A0 57C0 seq D0
000016A2 4400 neg.b D0
000016A4 1D40 000A move.b [A6 + 0xA], D0
000016A8 605A bra +0x5C /* 00001704 */
label000016AA:
000016AA 486E FFFC pea.l [A6 - 0x4]
000016AE A874 syscall GetPort
000016B0 206E FFFC movea.l A0, [A6 - 0x4]
000016B4 3D68 0044 FFFA move.w [A6 - 0x6], [A0 + 0x44]
000016BA 4267 clr.w -[A7]
000016BC A887 syscall TextFont
000016BE 4267 clr.w -[A7]
000016C0 486E 0008 pea.l [A6 + 0x8]
000016C4 4267 clr.w -[A7]
000016C6 2F3C 8206 0010 move.l -[A7], 0x82060010
000016CC A8B5 syscall ScriptUtil
000016CE 70FF moveq.l D0, 0xFFFFFFFF
000016D0 B05F cmp.w D0, [A7]+
000016D2 57C0 seq D0
000016D4 4A00 tst.b D0
000016D6 6720 beq +0x22 /* 000016F8 */
000016D8 2F00 move.l -[A7], D0
000016DA 4267 clr.w -[A7]
000016DC 486E 0008 pea.l [A6 + 0x8]
000016E0 3F3C 0001 move.w -[A7], 0x1
000016E4 2F3C 8206 0010 move.l -[A7], 0x82060010
000016EA A8B5 syscall ScriptUtil
000016EC 321F move.w D1, [A7]+
000016EE 201F move.l D0, [A7]+
000016F0 7401 moveq.l D2, 0x01
000016F2 B441 cmp.w D2, D1
000016F4 57C1 seq D1
000016F6 C001 and.b D0, D1
label000016F8:
000016F8 4400 neg.b D0
000016FA 1D40 000A move.b [A6 + 0xA], D0
000016FE 3F2E FFFA move.w -[A7], [A6 - 0x6]
00001702 A887 syscall TextFont
label00001704:
00001704 4E5E unlink A6
00001706 205F movea.l A0, [A7]+
00001708 544F addq.w A7, 2
0000170A 4ED0 jmp [A0]
0000170C 4E56 0000 link A6, 0
00001710 206E 0008 movea.l A0, [A6 + 0x8]
00001714 4210 clr.b [A0]
00001716 102D EF21 move.b D0, [A5 - 0x10DF]
0000171A 6722 beq +0x24 /* 0000173E */
0000171C 206E 0008 movea.l A0, [A6 + 0x8]
00001720 4210 clr.b [A0]
00001722 4267 clr.w -[A7]
00001724 3F2E 000C move.w -[A7], [A6 + 0xC]
00001728 4EBA FF4A jsr [PC - 0xB6 /* 00001674 */]
0000172C 101F move.b D0, [A7]+
0000172E 6720 beq +0x22 /* 00001750 */
00001730 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001734 3F2E 000C move.w -[A7], [A6 + 0xC]
00001738 4EBA FECA jsr [PC - 0x136 /* 00001604 */]
0000173C 6012 bra +0x14 /* 00001750 */
label0000173E:
0000173E 206E 0008 movea.l A0, [A6 + 0x8]
00001742 10BC 0001 move.b [A0], 0x1
00001746 206E 0008 movea.l A0, [A6 + 0x8]
0000174A 116E 000D 0001 move.b [A0 + 0x1], [A6 + 0xD]
label00001750:
00001750 4E5E unlink A6
00001752 205F movea.l A0, [A7]+
00001754 5C4F addq.w A7, 6
00001756 4ED0 jmp [A0]
00001758 4E56 FFF8 link A6, -0x0008
0000175C 48E7 0118 movem.l -[A7], D7,A3,A4
00001760 266E 0008 movea.l A3, [A6 + 0x8]
00001764 102D EF21 move.b D0, [A5 - 0x10DF]
00001768 6728 beq +0x2A /* 00001792 */
0000176A 7E00 moveq.l D7, 0x00
0000176C 286E 000C movea.l A4, [A6 + 0xC]
label00001770:
00001770 B7CC cmpa.l A3, A4
00001772 6F16 ble +0x18 /* 0000178A */
00001774 5287 addq.l D7, 1
00001776 4240 clr.w D0
00001778 1014 move.b D0, [A4]
0000177A 41ED EF22 lea.l A0, [A5 - 0x10DE]
0000177E 4241 clr.w D1
00001780 1230 0000 move.b D1, [A0 + D0.w]
00001784 48C1 ext.l D1
00001786 D9C1 add.l A4, D1
00001788 60E6 bra -0x18 /* 00001770 */
label0000178A:
0000178A B7CC cmpa.l A3, A4
0000178C 6C0A bge +0xC /* 00001798 */
0000178E 284B movea.l A4, A3
00001790 6006 bra +0x8 /* 00001798 */
label00001792:
00001792 2E0B move.l D7, A3
00001794 9EAE 000C sub.l D7, [A6 + 0xC]
label00001798:
00001798 2D47 0010 move.l [A6 + 0x10], D7
0000179C 4CDF 1880 movem.l D7,A3,A4, [A7]+
000017A0 4E5E unlink A6
000017A2 205F movea.l A0, [A7]+
000017A4 504F addq.w A7, 8
000017A6 4ED0 jmp [A0]
000017A8 4E56 FFF4 link A6, -0x000C
000017AC 48E7 0118 movem.l -[A7], D7,A3,A4
000017B0 266E 0008 movea.l A3, [A6 + 0x8]
000017B4 286E 0010 movea.l A4, [A6 + 0x10]
000017B8 102D EF21 move.b D0, [A5 - 0x10DF]
000017BC 6730 beq +0x32 /* 000017EE */
000017BE 2D6E 000C FFF4 move.l [A6 - 0xC], [A6 + 0xC]
000017C4 7E01 moveq.l D7, 0x01
000017C6 601E bra +0x20 /* 000017E6 */
label000017C8:
000017C8 4240 clr.w D0
000017CA 1014 move.b D0, [A4]
000017CC 41ED EF22 lea.l A0, [A5 - 0x10DE]
000017D0 4241 clr.w D1
000017D2 1230 0000 move.b D1, [A0 + D0.w]
000017D6 48C1 ext.l D1
000017D8 D9C1 add.l A4, D1
000017DA B7CC cmpa.l A3, A4
000017DC 6E04 bgt +0x6 /* 000017E2 */
000017DE 284B movea.l A4, A3
000017E0 6016 bra +0x18 /* 000017F8 */
label000017E2:
000017E2 5287 addq.l D7, 1
000017E4 6912 bvs +0x14 /* 000017F8 */
label000017E6:
000017E6 BEAE FFF4 cmp.l D7, [A6 - 0xC]
000017EA 6FDC ble -0x22 /* 000017C8 */
000017EC 600A bra +0xC /* 000017F8 */
label000017EE:
000017EE D9EE 000C add.l A4, [A6 + 0xC]
000017F2 B7CC cmpa.l A3, A4
000017F4 6E02 bgt +0x4 /* 000017F8 */
000017F6 284B movea.l A4, A3
label000017F8:
000017F8 2D4C 0014 move.l [A6 + 0x14], A4
000017FC 4CDF 1880 movem.l D7,A3,A4, [A7]+
00001800 4E5E unlink A6
00001802 205F movea.l A0, [A7]+
00001804 DEFC 000C add.w A7, 0xC
00001808 4ED0 jmp [A0]
0000180A 4E56 0000 link A6, 0
0000180E 1D6D FD85 0008 move.b [A6 + 0x8], [A5 - 0x27B]
00001814 4E5E unlink A6
00001816 4E75 rts
fn00001818:
00001818 4E56 0000 link A6, 0
0000181C 102D FD85 move.b D0, [A5 - 0x27B]
00001820 6704 beq +0x6 /* 00001826 */
00001822 4EAD 1BF2 jsr [A5 + 0x1BF2 /* export_890 */]
label00001826:
00001826 4E5E unlink A6
00001828 4E75 rts
fn0000182A:
0000182A 4E56 0000 link A6, 0
0000182E 486D 1B42 pea.l [A5 + 0x1B42 /* export_868 */]
00001832 A9F1 syscall UnloadSeg
00001834 486D 1BA2 pea.l [A5 + 0x1BA2 /* export_880 */]
00001838 A9F1 syscall UnloadSeg
0000183A 486D 1DA2 pea.l [A5 + 0x1DA2 /* export_944 */]
0000183E A9F1 syscall UnloadSeg
00001840 486D 130A pea.l [A5 + 0x130A /* export_605 */]
00001844 A9F1 syscall UnloadSeg
00001846 486D 1A3A pea.l [A5 + 0x1A3A /* export_835 */]
0000184A A9F1 syscall UnloadSeg
0000184C 486D 195A pea.l [A5 + 0x195A /* export_807 */]
00001850 A9F1 syscall UnloadSeg
00001852 486D 1A82 pea.l [A5 + 0x1A82 /* export_844 */]
00001856 A9F1 syscall UnloadSeg
00001858 102D FD85 move.b D0, [A5 - 0x27B]
0000185C 6704 beq +0x6 /* 00001862 */
0000185E 4EBA 0678 jsr [PC + 0x678 /* 00001ED8 */]
label00001862:
00001862 486D 1BF2 pea.l [A5 + 0x1BF2 /* export_890 */]
00001866 A9F1 syscall UnloadSeg
00001868 486D 1432 pea.l [A5 + 0x1432 /* export_642 */]
0000186C A9F1 syscall UnloadSeg
0000186E 486D 192A pea.l [A5 + 0x192A /* export_801 */]
00001872 A9F1 syscall UnloadSeg
00001874 486D 1772 pea.l [A5 + 0x1772 /* export_746 */]
00001878 A9F1 syscall UnloadSeg
0000187A 486D 1AB2 pea.l [A5 + 0x1AB2 /* export_850 */]
0000187E A9F1 syscall UnloadSeg
00001880 486D 1C9A pea.l [A5 + 0x1C9A /* export_911 */]
00001884 A9F1 syscall UnloadSeg
00001886 486D 11FA pea.l [A5 + 0x11FA /* export_571 */]
0000188A A9F1 syscall UnloadSeg
0000188C 4E5E unlink A6
0000188E 4E75 rts
label00001890:
00001890 4E56 FFEE link A6, -0x0012
00001894 48E7 0318 movem.l -[A7], D6,D7,A3,A4
00001898 286E 0008 movea.l A4, [A6 + 0x8]
0000189C 42A7 clr.l -[A7]
0000189E A01C syscall FreeMem
000018A0 2E80 move.l [A7], D0
000018A2 0C9F 0001 86A0 cmpi.l [A7]+, 0x186A0
000018A8 6C04 bge +0x6 /* 000018AE */
000018AA 7E94 moveq.l D7, 0xFFFFFF94
000018AC 601C bra +0x1E /* 000018CA */
label000018AE:
000018AE 4267 clr.w -[A7]
000018B0 486E FFF6 pea.l [A6 - 0xA]
000018B4 486E FFFA pea.l [A6 - 0x6]
000018B8 7010 moveq.l D0, 0x10
000018BA 222E 000C move.l D1, [A6 + 0xC]
000018BE E0A9 lsr D1, D0
000018C0 5381 subq.l D1, 1
000018C2 3F01 move.w -[A7], D1
000018C4 4EBA E7A6 jsr [PC - 0x185A /* 0000006C */]
000018C8 3E1F move.w D7, [A7]+
label000018CA:
000018CA 4A47 tst.w D7
000018CC 662C bne +0x2E /* 000018FA */
000018CE 2054 movea.l A0, [A4]
000018D0 216E FFF6 0010 move.l [A0 + 0x10], [A6 - 0xA]
000018D6 2054 movea.l A0, [A4]
000018D8 216E FFFA 0014 move.l [A0 + 0x14], [A6 - 0x6]
000018DE 486D FFFC pea.l [A5 - 0x4]
000018E2 A86E syscall InitGraf
000018E4 2054 movea.l A0, [A4]
000018E6 2668 0018 movea.l A3, [A0 + 0x18]
000018EA 2C28 0014 move.l D6, [A0 + 0x14]
000018EE 2F0B move.l -[A7], A3
000018F0 2F06 move.l -[A7], D6
000018F2 7020 moveq.l D0, 0x20
000018F4 2F00 move.l -[A7], D0
000018F6 4EBA 08F4 jsr [PC + 0x8F4 /* 000021EC */]
label000018FA:
000018FA 2054 movea.l A0, [A4]
000018FC 2B68 0028 FD80 move.l [A5 - 0x280], [A0 + 0x28]
00001902 3007 move.w D0, D7
00001904 48C0 ext.l D0
00001906 2D40 0010 move.l [A6 + 0x10], D0
0000190A 4CDF 18C0 movem.l D6,D7,A3,A4, [A7]+
0000190E 4E5E unlink A6
00001910 205F movea.l A0, [A7]+
00001912 504F addq.w A7, 8
00001914 4ED0 jmp [A0]
fn00001916:
00001916 4E56 FFFC link A6, -0x0004
0000191A 2F0C move.l -[A7], A4
0000191C 4AAE 0008 tst.l [A6 + 0x8]
00001920 672C beq +0x2E /* 0000194E */
00001922 42A7 clr.l -[A7]
00001924 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001928 4267 clr.w -[A7]
0000192A 4EAD 1582 jsr [A5 + 0x1582 /* export_684 */]
0000192E 285F movea.l A4, [A7]+
00001930 4267 clr.w -[A7]
00001932 4EAD 141A jsr [A5 + 0x141A /* export_639 */]
00001936 206D F4D4 movea.l A0, [A5 - 0xB2C]
0000193A 4868 0008 pea.l [A0 + 0x8]
0000193E 4EAD 1532 jsr [A5 + 0x1532 /* export_674 */]
00001942 42A7 clr.l -[A7]
00001944 2F0C move.l -[A7], A4
00001946 4267 clr.w -[A7]
00001948 4EAD 1582 jsr [A5 + 0x1582 /* export_684 */]
0000194C 285F movea.l A4, [A7]+
label0000194E:
0000194E 285F movea.l A4, [A7]+
00001950 4E5E unlink A6
00001952 2E9F move.l [A7], [A7]+
00001954 4E75 rts
fn00001956:
00001956 4E56 FFFC link A6, -0x0004
0000195A 48E7 0300 movem.l -[A7], D6,D7
0000195E 7046 moveq.l D0, 0x46
00001960 B06D F498 cmp.w D0, [A5 - 0xB68]
00001964 6604 bne +0x6 /* 0000196A */
00001966 6000 0144 bra +0x146 /* 00001AAC */
label0000196A:
0000196A 1F3C 0001 move.b -[A7], 0x1
0000196E 4EAD 141A jsr [A5 + 0x141A /* export_639 */]
00001972 206D F4D4 movea.l A0, [A5 - 0xB2C]
00001976 4228 0146 clr.b [A0 + 0x146]
0000197A 206D F4D4 movea.l A0, [A5 - 0xB2C]
0000197E 4868 014C pea.l [A0 + 0x14C]
00001982 4EAD 14B2 jsr [A5 + 0x14B2 /* export_658 */]
00001986 4267 clr.w -[A7]
00001988 4EAD 158A jsr [A5 + 0x158A /* export_685 */]
0000198C 2F2D F212 move.l -[A7], [A5 - 0xDEE]
00001990 4EBA FF84 jsr [PC - 0x7C /* 00001916 */]
00001994 4EAD 142A jsr [A5 + 0x142A /* export_641 */]
00001998 486D F6B2 pea.l [A5 - 0x94E]
0000199C 4EAD 1762 jsr [A5 + 0x1762 /* export_744 */]
000019A0 4EBA F134 jsr [PC - 0xECC /* 00000AD6 */]
000019A4 3C00 move.w D6, D0
000019A6 2F2D F0C4 move.l -[A7], [A5 - 0xF3C]
000019AA 205F movea.l A0, [A7]+
000019AC A023 syscall DisposHandle/DisposeHandle
000019AE 2F2D F6AA move.l -[A7], [A5 - 0x956]
000019B2 205F movea.l A0, [A7]+
000019B4 A023 syscall DisposHandle/DisposeHandle
000019B6 2F2D F4BE move.l -[A7], [A5 - 0xB42]
000019BA 205F movea.l A0, [A7]+
000019BC A023 syscall DisposHandle/DisposeHandle
000019BE 102D F6BB move.b D0, [A5 - 0x945]
000019C2 677A beq +0x7C /* 00001A3E */
000019C4 7E02 moveq.l D7, 0x02
000019C6 6014 bra +0x16 /* 000019DC */
label000019C8:
000019C8 3007 move.w D0, D7
000019CA 5540 subq.w D0, 2
000019CC 41ED F11A lea.l A0, [A5 - 0xEE6]
000019D0 E540 asl D0.w, 2
000019D2 4870 0000 pea.l [A0 + D0.w]
000019D6 4EAD 1532 jsr [A5 + 0x1532 /* export_674 */]
000019DA 5247 addq.w D7, 1
label000019DC:
000019DC 7004 moveq.l D0, 0x04
000019DE B047 cmp.w D0, D7
000019E0 6CE6 bge -0x18 /* 000019C8 */
000019E2 7E01 moveq.l D7, 0x01
000019E4 6014 bra +0x16 /* 000019FA */
label000019E6:
000019E6 3007 move.w D0, D7
000019E8 5340 subq.w D0, 1
000019EA 41ED F0E2 lea.l A0, [A5 - 0xF1E]
000019EE E540 asl D0.w, 2
000019F0 4870 0000 pea.l [A0 + D0.w]
000019F4 4EAD 1532 jsr [A5 + 0x1532 /* export_674 */]
000019F8 5247 addq.w D7, 1
label000019FA:
000019FA 700E moveq.l D0, 0x0E
000019FC B047 cmp.w D0, D7
000019FE 6CE6 bge -0x18 /* 000019E6 */
00001A00 4AAD F230 tst.l [A5 - 0xDD0]
00001A04 6706 beq +0x8 /* 00001A0C */
00001A06 2F2D F230 move.l -[A7], [A5 - 0xDD0]
00001A0A AA30 syscall DisposeGDevice/DisposGDevice
label00001A0C:
00001A0C 4AAD F21E tst.l [A5 - 0xDE2]
00001A10 6708 beq +0xA /* 00001A1A */
00001A12 2F2D F21E move.l -[A7], [A5 - 0xDE2]
00001A16 205F movea.l A0, [A7]+
00001A18 A023 syscall DisposHandle/DisposeHandle
label00001A1A:
00001A1A 2F2D F396 move.l -[A7], [A5 - 0xC6A]
00001A1E 4EBA FEF6 jsr [PC - 0x10A /* 00001916 */]
00001A22 206D F4D4 movea.l A0, [A5 - 0xB2C]
00001A26 4868 0122 pea.l [A0 + 0x122]
00001A2A 4EAD 1532 jsr [A5 + 0x1532 /* export_674 */]
00001A2E 486D F3A2 pea.l [A5 - 0xC5E]
00001A32 4EAD 181A jsr [A5 + 0x181A /* export_767 */]
00001A36 3F3C 0069 move.w -[A7], 0x69 /* 'i' */
00001A3A 4EAD 14E2 jsr [A5 + 0x14E2 /* export_664 */]
label00001A3E:
00001A3E 206D F4D4 movea.l A0, [A5 - 0xB2C]
00001A42 4868 0008 pea.l [A0 + 0x8]
00001A46 4EAD 1532 jsr [A5 + 0x1532 /* export_674 */]
00001A4A 4A6D F3C6 tst.w [A5 - 0xC3A]
00001A4E 6F06 ble +0x8 /* 00001A56 */
00001A50 3F2D F3C6 move.w -[A7], [A5 - 0xC3A]
00001A54 A99A syscall CloseResFile
label00001A56:
00001A56 102D F6E7 move.b D0, [A5 - 0x919]
00001A5A 6714 beq +0x16 /* 00001A70 */
00001A5C 102D F6E6 move.b D0, [A5 - 0x91A]
00001A60 6708 beq +0xA /* 00001A6A */
00001A62 2F2D F6FC move.l -[A7], [A5 - 0x904]
00001A66 A87D syscall ClosePort
00001A68 6006 bra +0x8 /* 00001A70 */
label00001A6A:
00001A6A 2F2D F6FC move.l -[A7], [A5 - 0x904]
00001A6E A92D syscall CloseWindow
label00001A70:
00001A70 3F3C 0068 move.w -[A7], 0x68 /* 'h' */
00001A74 4EAD 14E2 jsr [A5 + 0x14E2 /* export_664 */]
00001A78 2F2D F4C4 move.l -[A7], [A5 - 0xB3C]
00001A7C 4EAD 120A jsr [A5 + 0x120A /* export_573 */]
00001A80 206D F4D4 movea.l A0, [A5 - 0xB2C]
00001A84 4868 0118 pea.l [A0 + 0x118]
00001A88 4EAD 1532 jsr [A5 + 0x1532 /* export_674 */]
00001A8C 206D F4D4 movea.l A0, [A5 - 0xB2C]
00001A90 4868 011C pea.l [A0 + 0x11C]
00001A94 4EAD 1532 jsr [A5 + 0x1532 /* export_674 */]
00001A98 4EBA EC38 jsr [PC - 0x13C8 /* 000006D2 */]
00001A9C 4EAD 1C22 jsr [A5 + 0x1C22 /* export_896 */]
00001AA0 102D F485 move.b D0, [A5 - 0xB7B]
00001AA4 6706 beq +0x8 /* 00001AAC */
00001AA6 303C 0002 move.w D0, 0x2
00001AAA AAAA syscall QuickTimeDispatch
label00001AAC:
00001AAC 4CDF 00C0 movem.l D6,D7, [A7]+
00001AB0 4E5E unlink A6
00001AB2 4E75 rts
label00001AB4:
00001AB4 4E56 FFFC link A6, -0x0004
00001AB8 48E7 0118 movem.l -[A7], D7,A3,A4
00001ABC 2E2E 0008 move.l D7, [A6 + 0x8]
00001AC0 4EBA FD56 jsr [PC - 0x2AA /* 00001818 */]
00001AC4 422D FD85 clr.b [A5 - 0x27B]
00001AC8 4EBA FE8C jsr [PC - 0x174 /* 00001956 */]
00001ACC 2047 movea.l A0, D7
00001ACE 2050 movea.l A0, [A0]
00001AD0 2F28 0010 move.l -[A7], [A0 + 0x10]
00001AD4 4EBA E64C jsr [PC - 0x19B4 /* 00000122 */]
00001AD8 2047 movea.l A0, D7
00001ADA 2050 movea.l A0, [A0]
00001ADC 2668 0028 movea.l A3, [A0 + 0x28]
00001AE0 588B addq.l A3, 4
00001AE2 268B move.l [A3], A3
00001AE4 2047 movea.l A0, D7
00001AE6 2850 movea.l A4, [A0]
00001AE8 276C 001C 001C move.l [A3 + 0x1C], [A4 + 0x1C]
00001AEE 276C 0018 0018 move.l [A3 + 0x18], [A4 + 0x18]
00001AF4 276C 0020 0020 move.l [A3 + 0x20], [A4 + 0x20]
00001AFA 2047 movea.l A0, D7
00001AFC 2050 movea.l A0, [A0]
00001AFE 2068 0028 movea.l A0, [A0 + 0x28]
00001B02 208B move.l [A0], A3
00001B04 2F07 move.l -[A7], D7
00001B06 205F movea.l A0, [A7]+
00001B08 A023 syscall DisposHandle/DisposeHandle
00001B0A 4CDF 1880 movem.l D7,A3,A4, [A7]+
00001B0E 4E5E unlink A6
00001B10 205F movea.l A0, [A7]+
00001B12 504F addq.w A7, 8
00001B14 4ED0 jmp [A0]
label00001B16:
00001B16 4E56 FFA6 link A6, -0x005A
00001B1A 48E7 0308 movem.l -[A7], D6,D7,A4
00001B1E 286E 0012 movea.l A4, [A6 + 0x12]
00001B22 487A 04E8 pea.l [PC + 0x4E8 /* 0000200C, value 0x48E77FF8 */]
00001B26 A9F1 syscall UnloadSeg
00001B28 1B6E 0016 F1F8 move.b [A5 - 0xE08], [A6 + 0x16]
00001B2E 486D F6B2 pea.l [A5 - 0x94E]
00001B32 2F0C move.l -[A7], A4
00001B34 4EAD 1712 jsr [A5 + 0x1712 /* export_734 */]
00001B38 4267 clr.w -[A7]
00001B3A 486E FFAA pea.l [A6 - 0x56]
00001B3E 486E FFCA pea.l [A6 - 0x36]
00001B42 4EAD 1722 jsr [A5 + 0x1722 /* export_736 */]
00001B46 1E1F move.b D7, [A7]+
00001B48 1B6E 000E F6E6 move.b [A5 - 0x91A], [A6 + 0xE]
00001B4E 1007 move.b D0, D7
00001B50 660A bne +0xC /* 00001B5C */
00001B52 3B7C 0046 F498 move.w [A5 - 0xB68], 0x46 /* 'F' */
00001B58 6000 00D6 bra +0xD8 /* 00001C30 */
label00001B5C:
00001B5C 486D 171A pea.l [A5 + 0x171A /* export_735 */]
00001B60 A9F1 syscall UnloadSeg
00001B62 102E 000C move.b D0, [A6 + 0xC]
00001B66 6604 bne +0x6 /* 00001B6C */
00001B68 422D F6BB clr.b [A5 - 0x945]
label00001B6C:
00001B6C 200C move.l D0, A4
00001B6E 6718 beq +0x1A /* 00001B88 */
00001B70 7000 moveq.l D0, 0x00
00001B72 302C 0006 move.w D0, [A4 + 0x6]
00001B76 C0BC 0000 C000 and.l D0, 0xC000
00001B7C 0C80 0000 C000 cmpi.l D0, 0xC000
00001B82 6704 beq +0x6 /* 00001B88 */
00001B84 422D F6BB clr.b [A5 - 0x945]
label00001B88:
00001B88 4EBA EE6A jsr [PC - 0x1196 /* 000009F4 */]
00001B8C 4A40 tst.w D0
00001B8E 57C0 seq D0
00001B90 4400 neg.b D0
00001B92 1B40 F48F move.b [A5 - 0xB71], D0
00001B96 2F3C 0068 0000 move.l -[A7], 0x680000 /* 'h\0\0' */
00001B9C 4EAD 14DA jsr [A5 + 0x14DA /* export_663 */]
00001BA0 3C1F move.w D6, [A7]+
00001BA2 102D F6BB move.b D0, [A5 - 0x945]
00001BA6 670C beq +0xE /* 00001BB4 */
00001BA8 2F3C 0069 0000 move.l -[A7], 0x690000 /* 'i\0\0' */
00001BAE 4EAD 14DA jsr [A5 + 0x14DA /* export_663 */]
00001BB2 3C1F move.w D6, [A7]+
label00001BB4:
00001BB4 4EAD 1432 jsr [A5 + 0x1432 /* export_642 */]
00001BB8 102D F6BB move.b D0, [A5 - 0x945]
00001BBC 6704 beq +0x6 /* 00001BC2 */
00001BBE 4EAD 192A jsr [A5 + 0x192A /* export_801 */]
label00001BC2:
00001BC2 4EAD 1772 jsr [A5 + 0x1772 /* export_746 */]
00001BC6 4EAD 1AB2 jsr [A5 + 0x1AB2 /* export_850 */]
00001BCA 4EAD 1C9A jsr [A5 + 0x1C9A /* export_911 */]
00001BCE 4EAD 11FA jsr [A5 + 0x11FA /* export_571 */]
00001BD2 4EAD 1172 jsr [A5 + 0x1172 /* export_554 */]
00001BD6 4EAD 172A jsr [A5 + 0x172A /* export_737 */]
00001BDA 41ED F778 lea.l A0, [A5 - 0x888]
00001BDE 43ED F47A lea.l A1, [A5 - 0xB86]
00001BE2 20D9 move.l [A0]+, [A1]+
00001BE4 20D9 move.l [A0]+, [A1]+
00001BE6 486D F778 pea.l [A5 - 0x888]
00001BEA 2F3C 0004 0004 move.l -[A7], 0x40004
00001BF0 A8A9 syscall InsetRect
00001BF2 42A7 clr.l -[A7]
00001BF4 A975 syscall TickCount
00001BF6 2B5F F79C move.l [A5 - 0x864], [A7]+
00001BFA 2B6D F79C F790 move.l [A5 - 0x870], [A5 - 0x864]
00001C00 2B6D F79C F78C move.l [A5 - 0x874], [A5 - 0x864]
00001C06 7000 moveq.l D0, 0x00
00001C08 2B40 F788 move.l [A5 - 0x878], D0
00001C0C 422D F23E clr.b [A5 - 0xDC2]
00001C10 426D F234 clr.w [A5 - 0xDCC]
00001C14 41ED F236 lea.l A0, [A5 - 0xDCA]
00001C18 43ED F778 lea.l A1, [A5 - 0x888]
00001C1C 20D9 move.l [A0]+, [A1]+
00001C1E 20D9 move.l [A0]+, [A1]+
00001C20 7000 moveq.l D0, 0x00
00001C22 2B40 F240 move.l [A5 - 0xDC0], D0
00001C26 486D 171A pea.l [A5 + 0x171A /* export_735 */]
00001C2A A9F1 syscall UnloadSeg
00001C2C 4EBA FBFC jsr [PC - 0x404 /* 0000182A */]
label00001C30:
00001C30 4CDF 10C0 movem.l D6,D7,A4, [A7]+
00001C34 4E5E unlink A6
00001C36 205F movea.l A0, [A7]+
00001C38 DEFC 0010 add.w A7, 0x10
00001C3C 4ED0 jmp [A0]
fn00001C3E:
00001C3E 4E56 0000 link A6, 0
00001C42 422D FD87 clr.b [A5 - 0x279]
00001C46 422D F261 clr.b [A5 - 0xD9F]
00001C4A 102D FD85 move.b D0, [A5 - 0x27B]
00001C4E 6606 bne +0x8 /* 00001C56 */
00001C50 08AE 0001 000B bclr.b [A6 + 0xB], 0x1
label00001C56:
00001C56 206D F4D4 movea.l A0, [A5 - 0xB2C]
00001C5A 4228 014E clr.b [A0 + 0x14E]
00001C5E 2F2E 0010 move.l -[A7], [A6 + 0x10]
00001C62 2F2E 000C move.l -[A7], [A6 + 0xC]
00001C66 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001C6A 4EAD 1BA2 jsr [A5 + 0x1BA2 /* export_880 */]
00001C6E 206D F4D4 movea.l A0, [A5 - 0xB2C]
00001C72 7001 moveq.l D0, 0x01
00001C74 B068 019E cmp.w D0, [A0 + 0x19E]
00001C78 57C0 seq D0
00001C7A 4400 neg.b D0
00001C7C 1B40 F0BA move.b [A5 - 0xF46], D0
00001C80 0C68 0403 0112 cmpi.w [A0 + 0x112], 0x403
00001C86 6D08 blt +0xA /* 00001C90 */
00001C88 1B6D F484 F042 move.b [A5 - 0xFBE], [A5 - 0xB7C]
00001C8E 6010 bra +0x12 /* 00001CA0 */
label00001C90:
00001C90 206D F4D4 movea.l A0, [A5 - 0xB2C]
00001C94 4A68 013C tst.w [A0 + 0x13C]
00001C98 5EC0 sgt D0
00001C9A 4400 neg.b D0
00001C9C 1B40 F042 move.b [A5 - 0xFBE], D0
label00001CA0:
00001CA0 082E 0001 000B btst.b [A6 + 0xB], 0x1
00001CA6 6604 bne +0x6 /* 00001CAC */
00001CA8 422D F042 clr.b [A5 - 0xFBE]
label00001CAC:
00001CAC 1B6D F042 FD8A move.b [A5 - 0x276], [A5 - 0xFBE]
00001CB2 1B6D F042 F261 move.b [A5 - 0xD9F], [A5 - 0xFBE]
00001CB8 422D FD87 clr.b [A5 - 0x279]
00001CBC 422D FD86 clr.b [A5 - 0x27A]
00001CC0 4EBA FB68 jsr [PC - 0x498 /* 0000182A */]
00001CC4 4E5E unlink A6
00001CC6 205F movea.l A0, [A7]+
00001CC8 DEFC 000C add.w A7, 0xC
00001CCC 4ED0 jmp [A0]
label00001CCE:
00001CCE 4E56 0000 link A6, 0
00001CD2 4EAD 174A jsr [A5 + 0x174A /* export_741 */]
00001CD6 4267 clr.w -[A7]
00001CD8 2F2E 000C move.l -[A7], [A6 + 0xC]
00001CDC 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001CE0 4EAD 1272 jsr [A5 + 0x1272 /* export_586 */]
00001CE4 1D5F 0010 move.b [A6 + 0x10], [A7]+
00001CE8 4E5E unlink A6
00001CEA 205F movea.l A0, [A7]+
00001CEC 504F addq.w A7, 8
00001CEE 4ED0 jmp [A0]
label00001CF0:
00001CF0 4E56 0000 link A6, 0
00001CF4 4EAD 174A jsr [A5 + 0x174A /* export_741 */]
00001CF8 102D F042 move.b D0, [A5 - 0xFBE]
00001CFC 670A beq +0xC /* 00001D08 */
00001CFE 4EBA 0068 jsr [PC + 0x68 /* 00001D68 */]
00001D02 422E 0008 clr.b [A6 + 0x8]
00001D06 600A bra +0xC /* 00001D12 */
label00001D08:
00001D08 4267 clr.w -[A7]
00001D0A 4EAD 127A jsr [A5 + 0x127A /* export_587 */]
00001D0E 1D5F 0008 move.b [A6 + 0x8], [A7]+
label00001D12:
00001D12 4E5E unlink A6
00001D14 4E75 rts
label00001D16:
00001D16 4E56 FEFE link A6, -0x0102
00001D1A 422E 0008 clr.b [A6 + 0x8]
00001D1E 102D FD85 move.b D0, [A5 - 0x27B]
00001D22 6740 beq +0x42 /* 00001D64 */
00001D24 4267 clr.w -[A7]
00001D26 486E FF00 pea.l [A6 - 0x100]
00001D2A 486E FEFE pea.l [A6 - 0x102]
00001D2E 4EAD 05EA jsr [A5 + 0x5EA /* export_185 */]
00001D32 101F move.b D0, [A7]+
00001D34 672E beq +0x30 /* 00001D64 */
00001D36 1D7C 0001 0008 move.b [A6 + 0x8], 0x1
00001D3C 486E FF00 pea.l [A6 - 0x100]
00001D40 3F2E FEFE move.w -[A7], [A6 - 0x102]
00001D44 4267 clr.w -[A7]
00001D46 7007 moveq.l D0, 0x07
00001D48 2F00 move.l -[A7], D0
00001D4A 4EBA FEF2 jsr [PC - 0x10E /* 00001C3E */]
00001D4E 4A6D F498 tst.w [A5 - 0xB68]
00001D52 660C bne +0xE /* 00001D60 */
00001D54 1F3C 0001 move.b -[A7], 0x1
00001D58 4EAD 115A jsr [A5 + 0x115A /* export_551 */]
00001D5C 4EBA 000A jsr [PC + 0xA /* 00001D68 */]
label00001D60:
00001D60 4EAD 142A jsr [A5 + 0x142A /* export_641 */]
label00001D64:
00001D64 4E5E unlink A6
00001D66 4E75 rts
fn00001D68:
00001D68 4E56 FFFE link A6, -0x0002
00001D6C 1D6D F4CE FFFF move.b [A6 - 0x1], [A5 - 0xB32]
00001D72 1B7C 0001 F4CE move.b [A5 - 0xB32], 0x1
00001D78 1B7C 0001 F0A6 move.b [A5 - 0xF5A], 0x1
00001D7E 4EAD 1BFA jsr [A5 + 0x1BFA /* export_891 */]
00001D82 4EBA FAA6 jsr [PC - 0x55A /* 0000182A */]
00001D86 1B6E FFFF F4CE move.b [A5 - 0xB32], [A6 - 0x1]
00001D8C 4E5E unlink A6
00001D8E 4E75 rts
00001D90 4E56 0000 link A6, 0
00001D94 48E7 0018 movem.l -[A7], A3,A4
00001D98 266E 0008 movea.l A3, [A6 + 0x8]
00001D9C 41EB 01A0 lea.l A0, [A3 + 0x1A0]
00001DA0 43ED F6B2 lea.l A1, [A5 - 0x94E]
00001DA4 20D9 move.l [A0]+, [A1]+
00001DA6 20D9 move.l [A0]+, [A1]+
00001DA8 49EB 0020 lea.l A4, [A3 + 0x20]
00001DAC 397C 0001 000E move.w [A4 + 0xE], 0x1
00001DB2 397C 0001 000C move.w [A4 + 0xC], 0x1
00001DB8 197C 0001 0001 move.b [A4 + 0x1], 0x1
00001DBE 397C 7D00 0006 move.w [A4 + 0x6], 0x7D00 /* '}\0' */
00001DC4 4CDF 1800 movem.l A3,A4, [A7]+
00001DC8 4E5E unlink A6
00001DCA 2E9F move.l [A7], [A7]+
00001DCC 4E75 rts
00001DCE 205F movea.l A0, [A7]+
00001DD0 225F movea.l A1, [A7]+
00001DD2 2F08 move.l -[A7], A0
00001DD4 4ED1 jmp [A1]
00001DD6 225F movea.l A1, [A7]+
00001DD8 204F movea.l A0, A7
00001DDA 2E88 move.l [A7], A0
00001DDC 4ED1 jmp [A1]
00001DDE 4E56 0000 link A6, 0
00001DE2 48E7 3020 movem.l -[A7], D2,D3,A2
00001DE6 246E 0008 movea.l A2, [A6 + 0x8]
00001DEA 082A 000F 0004 btst.b [A2 + 0x4], 0xF
00001DF0 56C3 sne D3
00001DF2 6730 beq +0x32 /* 00001E24 */
00001DF4 2052 movea.l A0, [A2]
00001DF6 2450 movea.l A2, [A0]
00001DF8 302A 000C move.w D0, [A2 + 0xC]
00001DFC 906A 0008 sub.w D0, [A2 + 0x8]
00001E00 322A 0020 move.w D1, [A2 + 0x20]
00001E04 7404 moveq.l D2, 0x04
label00001E06:
00001E06 5342 subq.w D2, 1
00001E08 E249 lsr D1.w, 1
00001E0A 66FA bne -0x4 /* 00001E06 */
00001E0C 4A42 tst.w D2
00001E0E 6C00 0008 bge +0xA /* 00001E18 */
00001E12 4442 neg.w D2
00001E14 E568 lsl D0.w, D2
00001E16 6018 bra +0x1A /* 00001E30 */
label00001E18:
00001E18 7201 moveq.l D1, 0x01
00001E1A E569 lsl D1.w, D2
00001E1C 5341 subq.w D1, 1
00001E1E D041 add.w D0, D1
00001E20 E468 lsr D0.w, D2
00001E22 600C bra +0xE /* 00001E30 */
label00001E24:
00001E24 302A 000C move.w D0, [A2 + 0xC]
00001E28 906A 0008 sub.w D0, [A2 + 0x8]
00001E2C 5E40 addq.w D0, 7
00001E2E E648 lsr D0.w, 3
label00001E30:
00001E30 5240 addq.w D0, 1
00001E32 0880 0000 bclr.b D0, 0x0
00001E36 3540 0004 move.w [A2 + 0x4], D0
00001E3A 322A 000A move.w D1, [A2 + 0xA]
00001E3E 926A 0006 sub.w D1, [A2 + 0x6]
00001E42 C3C0 muls.w D1, D0
00001E44 2D41 000C move.l [A6 + 0xC], D1
00001E48 4A03 tst.b D3
00001E4A 671C beq +0x1E /* 00001E68 */
00001E4C 226E 0008 movea.l A1, [A6 + 0x8]
00001E50 08C0 000F bset.b D0, 0xF
00001E54 3540 0004 move.w [A2 + 0x4], D0
00001E58 3340 0004 move.w [A1 + 0x4], D0
00001E5C 236A 0006 0006 move.l [A1 + 0x6], [A2 + 0x6]
00001E62 236A 000A 000A move.l [A1 + 0xA], [A2 + 0xA]
label00001E68:
00001E68 4CDF 040C movem.l D2,D3,A2, [A7]+
00001E6C 4E5E unlink A6
00001E6E 2E9F move.l [A7], [A7]+
00001E70 4E75 rts
00001E72 225F movea.l A1, [A7]+
00001E74 205F movea.l A0, [A7]+
00001E76 A069 syscall HGetState
00001E78 4241 clr.w D1
00001E7A 0800 0007 btst.b D0, 0x7
00001E7E 6702 beq +0x4 /* 00001E82 */
00001E80 7201 moveq.l D1, 0x01
label00001E82:
00001E82 1E81 move.b [A7], D1
00001E84 4ED1 jmp [A1]
00001E86 4E56 0000 link A6, 0
00001E8A 206E 000C movea.l A0, [A6 + 0xC]
00001E8E 202E 0008 move.l D0, [A6 + 0x8]
00001E92 6F20 ble +0x22 /* 00001EB4 */
00001E94 2208 move.l D1, A0
00001E96 0801 0000 btst.b D1, 0x0
00001E9A 6612 bne +0x14 /* 00001EAE */
00001E9C 7208 moveq.l D1, 0x08
00001E9E 6006 bra +0x8 /* 00001EA6 */
label00001EA0:
00001EA0 4298 clr.l [A0]+
00001EA2 4298 clr.l [A0]+
00001EA4 5180 subq.l D0, 8
label00001EA6:
00001EA6 B081 cmp.l D0, D1
00001EA8 6CF6 bge -0x8 /* 00001EA0 */
00001EAA 4A80 tst.l D0
00001EAC 6706 beq +0x8 /* 00001EB4 */
label00001EAE:
00001EAE 4218 clr.b [A0]+
00001EB0 5380 subq.l D0, 1
00001EB2 66FA bne -0x4 /* 00001EAE */
label00001EB4:
00001EB4 4E5E unlink A6
00001EB6 205F movea.l A0, [A7]+
00001EB8 508F addq.l A7, 8
00001EBA 4ED0 jmp [A0]
fn00001EBC:
00001EBC 4E56 0000 link A6, 0
00001EC0 102D F6BB move.b D0, [A5 - 0x945]
00001EC4 6602 bne +0x4 /* 00001EC8 */
00001EC6 6008 bra +0xA /* 00001ED0 */
label00001EC8:
00001EC8 3F2E 0008 move.w -[A7], [A6 + 0x8]
00001ECC 4EAD 18AA jsr [A5 + 0x18AA /* export_785 */]
label00001ED0:
00001ED0 4E5E unlink A6
00001ED2 205F movea.l A0, [A7]+
00001ED4 544F addq.w A7, 2
00001ED6 4ED0 jmp [A0]
fn00001ED8:
00001ED8 4E56 0000 link A6, 0
00001EDC 486D 078A pea.l [A5 + 0x78A /* export_237 */]
00001EE0 A9F1 syscall UnloadSeg
00001EE2 486D 07E2 pea.l [A5 + 0x7E2 /* export_248 */]
00001EE6 A9F1 syscall UnloadSeg
00001EE8 486D 0872 pea.l [A5 + 0x872 /* export_266 */]
00001EEC A9F1 syscall UnloadSeg
00001EEE 486D 08DA pea.l [A5 + 0x8DA /* export_279 */]
00001EF2 A9F1 syscall UnloadSeg
00001EF4 486D 0F2A pea.l [A5 + 0xF2A /* export_481 */]
00001EF8 A9F1 syscall UnloadSeg
00001EFA 486D 0F92 pea.l [A5 + 0xF92 /* export_494 */]
00001EFE A9F1 syscall UnloadSeg
00001F00 486D 1A8A pea.l [A5 + 0x1A8A /* export_845 */]
00001F04 A9F1 syscall UnloadSeg
00001F06 4E5E unlink A6
00001F08 4E75 rts
fn00001F0A:
00001F0A 4EBA 00F8 jsr [PC + 0xF8 /* 00002004 */]
00001F0E 0680 0000 0020 addi.l D0, 0x20 /* ' ' */
00001F14 4E75 rts
fn00001F16:
00001F16 2F0D move.l -[A7], A5
00001F18 200D move.l D0, A5
00001F1A 0800 0000 btst.b D0, 0x0
00001F1E 660C bne +0xE /* 00001F2C */
00001F20 206F 0008 movea.l A0, [A7 + 0x8]
00001F24 7007 moveq.l D0, 0x07
label00001F26:
00001F26 20DD move.l [A0]+, [A5]+
00001F28 51C8 FFFC dbf D0, -0x6 /* 00001F26 */
label00001F2C:
00001F2C 2A6F 0008 movea.l A5, [A7 + 0x8]
00001F30 4EBA 00DA jsr [PC + 0xDA /* 0000200C */]
00001F34 2A5F movea.l A5, [A7]+
00001F36 4E75 rts
00001F38 200D move.l D0, A5
00001F3A 2A6F 0004 movea.l A5, [A7 + 0x4]
00001F3E 4E75 rts
00001F40 2A6F 0004 movea.l A5, [A7 + 0x4]
00001F44 4E75 rts
00001F46 202F 0004 move.l D0, [A7 + 0x4]
00001F4A 222F 0008 move.l D1, [A7 + 0x8]
00001F4E 2F02 move.l -[A7], D2
00001F50 2400 move.l D2, D0
00001F52 C4C1 mulu.w D2, D1
00001F54 2042 movea.l A0, D2
00001F56 2401 move.l D2, D1
00001F58 4842 swap.w D2
00001F5A C4C0 mulu.w D2, D0
00001F5C 4840 swap.w D0
00001F5E C2C0 mulu.w D1, D0
00001F60 D441 add.w D2, D1
00001F62 4842 swap.w D2
00001F64 4242 clr.w D2
00001F66 D1C2 add.l A0, D2
00001F68 2008 move.l D0, A0
00001F6A 241F move.l D2, [A7]+
00001F6C 4E75 rts
00001F6E 222F 0004 move.l D1, [A7 + 0x4]
00001F72 202F 0008 move.l D0, [A7 + 0x8]
00001F76 4EBA 000E jsr [PC + 0xE /* 00001F86 */]
00001F7A 2001 move.l D0, D1
00001F7C 4E75 rts
00001F7E 222F 0004 move.l D1, [A7 + 0x4]
00001F82 202F 0008 move.l D0, [A7 + 0x8]
fn00001F86:
00001F86 48E7 0600 movem.l -[A7], D5,D6
00001F8A 2A00 move.l D5, D0
00001F8C 6A02 bpl +0x4 /* 00001F90 */
00001F8E 4480 neg.l D0
label00001F90:
00001F90 2C01 move.l D6, D1
00001F92 6A02 bpl +0x4 /* 00001F96 */
00001F94 4481 neg.l D1
label00001F96:
00001F96 4EBA 001C jsr [PC + 0x1C /* 00001FB4 */]
00001F9A 4A85 tst.l D5
00001F9C 6A02 bpl +0x4 /* 00001FA0 */
00001F9E 4480 neg.l D0
label00001FA0:
00001FA0 BB86 xor.l D6, D5
00001FA2 6A02 bpl +0x4 /* 00001FA6 */
00001FA4 4481 neg.l D1
label00001FA6:
00001FA6 4CDF 0060 movem.l D5,D6, [A7]+
00001FAA 4E75 rts
00001FAC 222F 0004 move.l D1, [A7 + 0x4]
00001FB0 202F 0008 move.l D0, [A7 + 0x8]
fn00001FB4:
00001FB4 48E7 3800 movem.l -[A7], D2,D3,D4
00001FB8 2401 move.l D2, D1
00001FBA 4842 swap.w D2
00001FBC 4A42 tst.w D2
00001FBE 661C bne +0x1E /* 00001FDC */
00001FC0 3600 move.w D3, D0
00001FC2 4240 clr.w D0
00001FC4 4840 swap.w D0
00001FC6 6704 beq +0x6 /* 00001FCC */
00001FC8 80C1 divu.w D0, D1
00001FCA 3400 move.w D2, D0
label00001FCC:
00001FCC 4842 swap.w D2
00001FCE 3003 move.w D0, D3
00001FD0 80C1 divu.w D0, D1
00001FD2 3400 move.w D2, D0
00001FD4 2202 move.l D1, D2
00001FD6 4240 clr.w D0
00001FD8 4840 swap.w D0
00001FDA 6022 bra +0x24 /* 00001FFE */
label00001FDC:
00001FDC 2400 move.l D2, D0
00001FDE 4240 clr.w D0
00001FE0 4840 swap.w D0
00001FE2 4842 swap.w D2
00001FE4 4242 clr.w D2
00001FE6 2601 move.l D3, D1
00001FE8 7200 moveq.l D1, 0x00
00001FEA 780F moveq.l D4, 0x0F
label00001FEC:
00001FEC D482 add.l D2, D2
00001FEE D180 addx.l D0, D0
00001FF0 D281 add.l D1, D1
00001FF2 B083 cmp.l D0, D3
00001FF4 6504 bcs +0x6 /* 00001FFA */
00001FF6 9083 sub.l D0, D3
00001FF8 5201 addq.b D1, 1
label00001FFA:
00001FFA 51CC FFF0 dbf D4, -0x12 /* 00001FEC */
label00001FFE:
00001FFE 4CDF 001C movem.l D2,D3,D4, [A7]+
00002002 4E75 rts
fn00002004:
00002004 41FA 1580 lea.l A0, [PC + 0x1580 /* 00003586, value 0x1928, cstring "" */]
00002008 2010 move.l D0, [A0]
0000200A 4E75 rts
fn0000200C:
0000200C 48E7 7FF8 movem.l -[A7], D1,D2,D3,D4,D5,D6,D7,A0,A1,A2,A3,A4
00002010 49FA 1574 lea.l A4, [PC + 0x1574 /* 00003586, value 0x1928, cstring "" */]
00002014 302C 0004 move.w D0, [A4 + 0x4]
00002018 5340 subq.w D0, 1
0000201A 6704 beq +0x6 /* 00002020 */
0000201C 70FF moveq.l D0, 0xFFFFFFFF
0000201E 6032 bra +0x34 /* 00002052 */
label00002020:
00002020 264D movea.l A3, A5
00002022 97D4 sub.l A3, [A4]
00002024 2F0B move.l -[A7], A3
00002026 2F14 move.l -[A7], [A4]
00002028 6100 0148 bsr +0x14A /* 00002172 */
0000202C 202C 0008 move.l D0, [A4 + 0x8]
00002030 4874 0800 pea.l [A4 + D0]
00002034 2F0B move.l -[A7], A3
00002036 6100 002E bsr +0x30 /* 00002066 */
0000203A 504F addq.w A7, 8
0000203C 202C 000C move.l D0, [A4 + 0xC]
00002040 4874 0800 pea.l [A4 + D0]
00002044 2F0B move.l -[A7], A3
00002046 2F0D move.l -[A7], A5
00002048 6100 00CC bsr +0xCE /* 00002116 */
0000204C 4FEF 000C lea.l A7, [A7 + 0xC]
00002050 7000 moveq.l D0, 0x00
label00002052:
00002052 4CDF 1FFE movem.l D1,D2,D3,D4,D5,D6,D7,A0,A1,A2,A3,A4, [A7]+
00002056 4E75 rts
00002058 8009 or.b D0, A1
0000205A 5F44 subq.w D4, 7
0000205C 4154 chk.w D0, [A4]
0000205E 4149 chk.w D0, A1
00002060 4E49 trap 9
00002062 5400 addq.b D0, 2
00002064 0000 226F ori.b D0, 0x6F /* 'o' */
// begin alternate branch 00002066-00002072
fn00002066:
00002066 226F 0004 movea.l A1, [A7 + 0x4]
0000206A 206F 0008 movea.l A0, [A7 + 0x8]
0000206E 48E7 1800 movem.l -[A7], D3,D4
// end alternate branch 00002066-00002072
fn00002066: // (misaligned)
00002068 0004 206F ori.b D4, 0x6F /* 'o' */
0000206C 0008 48E7 ori.b A0, 0xE7
00002070 1800 move.b D4, D0
label00002072:
00002072 7601 moveq.l D3, 0x01
00002074 7200 moveq.l D1, 0x00
00002076 1218 move.b D1, [A0]+
00002078 2401 move.l D2, D1
0000207A 0241 000F andi.w D1, 0xF
0000207E 6608 bne +0xA /* 00002088 */
00002080 6140 bsr +0x42 /* 000020C2 */
00002082 2200 move.l D1, D0
00002084 6722 beq +0x24 /* 000020A8 */
00002086 6002 bra +0x4 /* 0000208A */
label00002088:
00002088 D241 add.w D1, D1
label0000208A:
0000208A 0242 00F0 andi.w D2, 0xF0
0000208E 6606 bne +0x8 /* 00002096 */
00002090 6130 bsr +0x32 /* 000020C2 */
00002092 2400 move.l D2, D0
00002094 6002 bra +0x4 /* 00002098 */
label00002096:
00002096 E64A lsr D2.w, 3
label00002098:
00002098 D3C2 add.l A1, D2
0000209A 2801 move.l D4, D1
label0000209C:
0000209C 12D8 move.b [A1]+, [A0]+
0000209E 5384 subq.l D4, 1
000020A0 66FA bne -0x4 /* 0000209C */
000020A2 5383 subq.l D3, 1
000020A4 66F2 bne -0xC /* 00002098 */
000020A6 60CA bra -0x34 /* 00002072 */
label000020A8:
000020A8 4CDF 0018 movem.l D3,D4, [A7]+
000020AC 4E75 rts
000020AE 8010 or.b D0, [A0]
000020B0 756E moveq.l D2, 0x6E
000020B2 636F bls +0x71 /* 00002123 */
000020B4 6D70 blt +0x72 /* 00002126 */
000020B6 7265 moveq.l D1, 0x65
000020B8 7373 moveq.l D1, 0x73
000020BA 5F77 6F72 6C64 0000 7000 subq.w [[A7 + 0x6C640000] + 0x7000], 7
// begin alternate branch 000020C2-000020C4
fn000020C2:
000020C2 7000 moveq.l D0, 0x00
// end alternate branch 000020C2-000020C4
fn000020C2: // (misaligned)
000020C4 1018 move.b D0, [A0]+
000020C6 6A42 bpl +0x44 /* 0000210A */
000020C8 0800 0006 btst.b D0, 0x6
000020CC 6734 beq +0x36 /* 00002102 */
000020CE 0800 0005 btst.b D0, 0x5
000020D2 6720 beq +0x22 /* 000020F4 */
000020D4 0800 0004 btst.b D0, 0x4
000020D8 670A beq +0xC /* 000020E4 */
000020DA 61E6 bsr -0x18 /* 000020C2 */
000020DC 2600 move.l D3, D0
000020DE 61E2 bsr -0x1C /* 000020C2 */
000020E0 C143 exg D0, D3
000020E2 4E75 rts
label000020E4:
000020E4 1018 move.b D0, [A0]+
000020E6 E180 asl D0, 8
000020E8 1018 move.b D0, [A0]+
000020EA E180 asl D0, 8
000020EC 1018 move.b D0, [A0]+
000020EE E180 asl D0, 8
000020F0 1018 move.b D0, [A0]+
000020F2 4E75 rts
label000020F4:
000020F4 0200 001F andi.b D0, 0x1F
000020F8 E180 asl D0, 8
000020FA 1018 move.b D0, [A0]+
000020FC E180 asl D0, 8
000020FE 1018 move.b D0, [A0]+
00002100 4E75 rts
label00002102:
00002102 0200 003F andi.b D0, 0x3F /* '?' */
00002106 E180 asl D0, 8
00002108 1018 move.b D0, [A0]+
label0000210A:
0000210A 4E75 rts
0000210C 8006 or.b D0, D6
0000210E 6765 beq +0x67 /* 00002175 */
00002110 745F moveq.l D2, 0x5F
00002112 726C moveq.l D1, 0x6C
00002114 0000 222F ori.b D0, 0x2F /* '/' */
// begin alternate branch 00002116-00002124
fn00002116:
00002116 222F 0004 move.l D1, [A7 + 0x4]
0000211A 226F 0008 movea.l A1, [A7 + 0x8]
0000211E 206F 000C movea.l A0, [A7 + 0xC]
label00002122:
00002122 7401 moveq.l D2, 0x01
// end alternate branch 00002116-00002124
fn00002116: // (misaligned)
00002118 0004 226F ori.b D4, 0x6F /* 'o' */
0000211C 0008 206F ori.b A0, 0x6F /* 'o' */
00002120 000C 7401 ori.b A4, 0x1
label00002122: // (misaligned)
00002124 7000 moveq.l D0, 0x00
label00002126:
00002126 1018 move.b D0, [A0]+
00002128 670C beq +0xE /* 00002136 */
0000212A 6A26 bpl +0x28 /* 00002152 */
0000212C 0880 0007 bclr.b D0, 0x7
00002130 E188 lsl D0, 8
00002132 1018 move.b D0, [A0]+
00002134 601C bra +0x1E /* 00002152 */
label00002136:
00002136 1018 move.b D0, [A0]+
00002138 6724 beq +0x26 /* 0000215E */
0000213A 6A0E bpl +0x10 /* 0000214A */
0000213C E188 lsl D0, 8
0000213E 1018 move.b D0, [A0]+
00002140 E188 lsl D0, 8
00002142 1018 move.b D0, [A0]+
00002144 E188 lsl D0, 8
00002146 1018 move.b D0, [A0]+
00002148 6008 bra +0xA /* 00002152 */
label0000214A:
0000214A 2400 move.l D2, D0
0000214C 6100 FF74 bsr -0x8A /* 000020C2 */
00002150 C142 exg D0, D2
label00002152:
00002152 D080 add.l D0, D0
label00002154:
00002154 D3C0 add.l A1, D0
00002156 D391 add.l [A1], D1
00002158 5382 subq.l D2, 1
0000215A 66F8 bne -0x6 /* 00002154 */
0000215C 60C4 bra -0x3A /* 00002122 */
label0000215E:
0000215E 4E75 rts
00002160 800E or.b D0, A6
00002162 7265 moveq.l D1, 0x65
00002164 6C6F bge +0x71 /* 000021D5 */
00002166 6361 bls +0x63 /* 000021C9 */
00002168 7465 moveq.l D2, 0x65
0000216A 5F77 6F72 6C64 0000 7400 subq.w [[A7 + 0x6C640000] + 0x7400], 7
// begin alternate branch 00002172-00002174
fn00002172:
00002172 7400 moveq.l D2, 0x00
// end alternate branch 00002172-00002174
fn00002172: // (misaligned)
00002174 205F movea.l A0, [A7]+
00002176 201F move.l D0, [A7]+
00002178 225F movea.l A1, [A7]+
0000217A 6728 beq +0x2A /* 000021A4 */
label0000217C:
0000217C 3209 move.w D1, A1
0000217E 0241 0003 andi.w D1, 0x3
00002182 6708 beq +0xA /* 0000218C */
00002184 12C2 move.b [A1]+, D2
00002186 5380 subq.l D0, 1
00002188 66F2 bne -0xC /* 0000217C */
0000218A 6018 bra +0x1A /* 000021A4 */
label0000218C:
0000218C 2200 move.l D1, D0
0000218E E489 lsr D1, 2
00002190 6706 beq +0x8 /* 00002198 */
label00002192:
00002192 22C2 move.l [A1]+, D2
00002194 5381 subq.l D1, 1
00002196 66FA bne -0x4 /* 00002192 */
label00002198:
00002198 0240 0003 andi.w D0, 0x3
0000219C 6002 bra +0x4 /* 000021A0 */
label0000219E:
0000219E 12C2 move.b [A1]+, D2
label000021A0:
000021A0 51C8 FFFC dbf D0, -0x6 /* 0000219E */
label000021A4:
000021A4 4ED0 jmp [A0]
000021A6 800A or.b D0, A2
000021A8 5A45 addq.w D5, 5
000021AA 524F addq.w A7, 1
000021AC 4255 clr.w [A5]
000021AE 4646 not.w D6
000021B0 4552 chk.w D2, [A2]
000021B2 0000 0000 ori.b D0, 0x0
fn000021B6:
000021B6 225F movea.l A1, [A7]+
000021B8 201F move.l D0, [A7]+
000021BA A122 syscall NewHandle, flags=1
000021BC 2E88 move.l [A7], A0
000021BE 4ED1 jmp [A1]
000021C0 225F movea.l A1, [A7]+
000021C2 201F move.l D0, [A7]+
000021C4 A322 syscall NewHandleClear, flags=3
000021C6 2E88 move.l [A7], A0
000021C8 4ED1 jmp [A1]
000021CA 225F movea.l A1, [A7]+
000021CC 205F movea.l A0, [A7]+
000021CE A025 syscall GetHandleSize
000021D0 2E80 move.l [A7], D0
000021D2 6A02 bpl +0x4 /* 000021D6 */
000021D4 4297 clr.l [A7]
label000021D6:
000021D6 4ED1 jmp [A1]
000021D8 225F movea.l A1, [A7]+
000021DA 201F move.l D0, [A7]+
000021DC 205F movea.l A0, [A7]+
000021DE A024 syscall SetHandleSize
000021E0 4ED1 jmp [A1]
000021E2 225F movea.l A1, [A7]+
000021E4 205F movea.l A0, [A7]+
000021E6 A128 syscall RecoverHandle, flags=1
000021E8 2E88 move.l [A7], A0
000021EA 4ED1 jmp [A1]
fn000021EC:
000021EC 221F move.l D1, [A7]+
000021EE 201F move.l D0, [A7]+
000021F0 225F movea.l A1, [A7]+
000021F2 205F movea.l A0, [A7]+
000021F4 A02E syscall BlockMove/BlockMoveData
000021F6 2241 movea.l A1, D1
000021F8 4ED1 jmp [A1]
000021FA 225F movea.l A1, [A7]+
000021FC 121F move.b D1, [A7]+
000021FE 301F move.w D0, [A7]+
00002200 4A01 tst.b D1
00002202 6704 beq +0x6 /* 00002208 */
00002204 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00002206 6002 bra +0x4 /* 0000220A */
label00002208:
00002208 A346 syscall GetOSTrapAddress, flags=3
label0000220A:
0000220A 2E88 move.l [A7], A0
0000220C 4ED1 jmp [A1]
0000220E 225F movea.l A1, [A7]+
00002210 121F move.b D1, [A7]+
00002212 301F move.w D0, [A7]+
00002214 205F movea.l A0, [A7]+
00002216 4A01 tst.b D1
00002218 6704 beq +0x6 /* 0000221E */
0000221A A647 syscall SetToolBoxTrapAddress/SetToolTrapAddress, flags=6
0000221C 6002 bra +0x4 /* 00002220 */
label0000221E:
0000221E A247 syscall SetOSTrapAddress, flags=2
label00002220:
00002220 4ED1 jmp [A1]
00002222 225F movea.l A1, [A7]+
00002224 205F movea.l A0, [A7]+
00002226 20B8 020C move.l [A0], [0x0000020C /* Time */]
0000222A 4ED1 jmp [A1]
0000222C 225F movea.l A1, [A7]+
0000222E 121F move.b D1, [A7]+
00002230 205F movea.l A0, [A7]+
00002232 7000 moveq.l D0, 0x00
00002234 1018 move.b D0, [A0]+
00002236 2F09 move.l -[A7], A1
00002238 4A01 tst.b D1
0000223A 6704 beq +0x6 /* 00002240 */
0000223C A054 syscall UprString/UprText
0000223E 6002 bra +0x4 /* 00002242 */
label00002240:
00002240 A254 syscall UprString/UprText, flags=2
label00002242:
00002242 4E75 rts
00002244 225F movea.l A1, [A7]+
00002246 101F move.b D0, [A7]+
00002248 205F movea.l A0, [A7]+
0000224A 6604 bne +0x6 /* 00002250 */
0000224C A000 syscall Open/PBHOpen/HOpen
0000224E 6002 bra +0x4 /* 00002252 */
label00002250:
00002250 A400 syscall Open/PBHOpen/HOpen, flags=4
label00002252:
00002252 3E80 move.w [A7], D0
00002254 4ED1 jmp [A1]
00002256 225F movea.l A1, [A7]+
00002258 101F move.b D0, [A7]+
0000225A 205F movea.l A0, [A7]+
0000225C 6604 bne +0x6 /* 00002262 */
0000225E A007 syscall GetVolInfo/PBHGetVInfo/HGetVInfo
00002260 6002 bra +0x4 /* 00002264 */
label00002262:
00002262 A407 syscall GetVolInfo/PBHGetVInfo/HGetVInfo, flags=4
label00002264:
00002264 3E80 move.w [A7], D0
00002266 4ED1 jmp [A1]
00002268 225F movea.l A1, [A7]+
0000226A 101F move.b D0, [A7]+
0000226C 205F movea.l A0, [A7]+
0000226E 6604 bne +0x6 /* 00002274 */
00002270 A00C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo
00002272 6002 bra +0x4 /* 00002276 */
label00002274:
00002274 A40C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo, flags=4
label00002276:
00002276 3E80 move.w [A7], D0
00002278 4ED1 jmp [A1]
0000227A 4E56 FFCE link A6, -0x0032
0000227E 204F movea.l A0, A7
00002280 216E 000E 0012 move.l [A0 + 0x12], [A6 + 0xE]
00002286 316E 000C 0016 move.w [A0 + 0x16], [A6 + 0xC]
0000228C 4228 001A clr.b [A0 + 0x1A]
00002290 4228 001B clr.b [A0 + 0x1B]
00002294 42A8 001C clr.l [A0 + 0x1C]
00002298 701A moveq.l D0, 0x1A
0000229A A060 syscall FSDispatch/HFSDispatch
0000229C 0C40 FFCE cmpi.w D0, 0xFFCE
000022A0 6602 bne +0x4 /* 000022A4 */
000022A2 A000 syscall Open/PBHOpen/HOpen
label000022A4:
000022A4 226E 0008 movea.l A1, [A6 + 0x8]
000022A8 32A8 0018 move.w [A1], [A0 + 0x18]
000022AC 3D40 0012 move.w [A6 + 0x12], D0
000022B0 4E5E unlink A6
000022B2 205F movea.l A0, [A7]+
000022B4 4FEF 000A lea.l A7, [A7 + 0xA]
000022B8 4ED0 jmp [A0]
000022BA 4E56 FFCE link A6, -0x0032
000022BE 204F movea.l A0, A7
000022C0 316E 0008 0018 move.w [A0 + 0x18], [A6 + 0x8]
000022C6 A001 syscall Close
000022C8 3D40 000A move.w [A6 + 0xA], D0
000022CC 4E5E unlink A6
000022CE 205F movea.l A0, [A7]+
000022D0 548F addq.l A7, 2
000022D2 4ED0 jmp [A0]
000022D4 51C1 sf D1
000022D6 6002 bra +0x4 /* 000022DA */
000022D8 50C1 st D1
label000022DA:
000022DA 4E56 FFCE link A6, -0x0032
000022DE 204F movea.l A0, A7
000022E0 216E 0008 0020 move.l [A0 + 0x20], [A6 + 0x8]
000022E6 316E 0010 0018 move.w [A0 + 0x18], [A6 + 0x10]
000022EC 226E 000C movea.l A1, [A6 + 0xC]
000022F0 2151 0024 move.l [A0 + 0x24], [A1]
000022F4 4268 002C clr.w [A0 + 0x2C]
000022F8 42A8 002E clr.l [A0 + 0x2E]
000022FC 4A01 tst.b D1
000022FE 6604 bne +0x6 /* 00002304 */
00002300 A002 syscall Read
00002302 6002 bra +0x4 /* 00002306 */
label00002304:
00002304 A003 syscall Write
label00002306:
00002306 3D40 0012 move.w [A6 + 0x12], D0
0000230A 226E 000C movea.l A1, [A6 + 0xC]
0000230E 22A8 0028 move.l [A1], [A0 + 0x28]
00002312 4E5E unlink A6
00002314 225F movea.l A1, [A7]+
00002316 4FEF 000A lea.l A7, [A7 + 0xA]
0000231A 4ED1 jmp [A1]
0000231C 4E56 FFB0 link A6, -0x0050
00002320 204F movea.l A0, A7
00002322 216E 000E 0012 move.l [A0 + 0x12], [A6 + 0xE]
00002328 316E 000C 0016 move.w [A0 + 0x16], [A6 + 0xC]
0000232E 4228 001A clr.b [A0 + 0x1A]
00002332 4268 001C clr.w [A0 + 0x1C]
00002336 A00C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo
00002338 3D40 0012 move.w [A6 + 0x12], D0
0000233C 41E8 0020 lea.l A0, [A0 + 0x20]
00002340 226E 0008 movea.l A1, [A6 + 0x8]
00002344 7010 moveq.l D0, 0x10
00002346 A02E syscall BlockMove/BlockMoveData
00002348 4E5E unlink A6
0000234A 225F movea.l A1, [A7]+
0000234C 4FEF 000A lea.l A7, [A7 + 0xA]
00002350 4ED1 jmp [A1]
00002352 4E56 FFC0 link A6, -0x0040
00002356 204F movea.l A0, A7
00002358 216E 000C 0012 move.l [A0 + 0x12], [A6 + 0xC]
0000235E A014 syscall GetVol/PBHGetVol/HGetVol
00002360 3D40 0010 move.w [A6 + 0x10], D0
00002364 226E 0008 movea.l A1, [A6 + 0x8]
00002368 32A8 0016 move.w [A1], [A0 + 0x16]
0000236C 4E5E unlink A6
0000236E 225F movea.l A1, [A7]+
00002370 508F addq.l A7, 8
00002372 4ED1 jmp [A1]
00002374 4E56 FFC0 link A6, -0x0040
00002378 204F movea.l A0, A7
0000237A 216E 000A 0012 move.l [A0 + 0x12], [A6 + 0xA]
00002380 316E 0008 0016 move.w [A0 + 0x16], [A6 + 0x8]
00002386 A015 syscall SetVol/PBHSetVol/HSetVol
00002388 3D40 000E move.w [A6 + 0xE], D0
0000238C 4E5E unlink A6
0000238E 225F movea.l A1, [A7]+
00002390 5C8F addq.l A7, 6
00002392 4ED1 jmp [A1]
00002394 4E56 FFC0 link A6, -0x0040
00002398 204F movea.l A0, A7
0000239A 316E 0008 0016 move.w [A0 + 0x16], [A6 + 0x8]
000023A0 216E 000A 0012 move.l [A0 + 0x12], [A6 + 0xA]
000023A6 A013 syscall FlushVol
000023A8 3D40 000E move.w [A6 + 0xE], D0
000023AC 4E5E unlink A6
000023AE 225F movea.l A1, [A7]+
000023B0 5C8F addq.l A7, 6
000023B2 4ED1 jmp [A1]
000023B4 4E56 FFB0 link A6, -0x0050
000023B8 204F movea.l A0, A7
000023BA 216E 0012 0012 move.l [A0 + 0x12], [A6 + 0x12]
000023C0 316E 0010 0016 move.w [A0 + 0x16], [A6 + 0x10]
000023C6 4228 001A clr.b [A0 + 0x1A]
000023CA A008 syscall Create/PBHCreate/HCreate
000023CC 6616 bne +0x18 /* 000023E4 */
000023CE 4268 001C clr.w [A0 + 0x1C]
000023D2 A00C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo
000023D4 660E bne +0x10 /* 000023E4 */
000023D6 43E8 0020 lea.l A1, [A0 + 0x20]
000023DA 22EE 0008 move.l [A1]+, [A6 + 0x8]
000023DE 22AE 000C move.l [A1], [A6 + 0xC]
000023E2 A00D syscall SetFileInfo/PBHSetFInfo/HSetFileInfo
label000023E4:
000023E4 3D40 0016 move.w [A6 + 0x16], D0
000023E8 4E5E unlink A6
000023EA 225F movea.l A1, [A7]+
000023EC 4FEF 000E lea.l A7, [A7 + 0xE]
000023F0 4ED1 jmp [A1]
000023F2 4E56 FFCE link A6, -0x0032
000023F6 204F movea.l A0, A7
000023F8 216E 000A 0012 move.l [A0 + 0x12], [A6 + 0xA]
000023FE 316E 0008 0016 move.w [A0 + 0x16], [A6 + 0x8]
00002404 4228 001A clr.b [A0 + 0x1A]
00002408 A009 syscall Delete/PBHDelete/HDelete
0000240A 3D40 000E move.w [A6 + 0xE], D0
0000240E 4E5E unlink A6
00002410 225F movea.l A1, [A7]+
00002412 5C8F addq.l A7, 6
00002414 4ED1 jmp [A1]
00002416 4E56 FFCE link A6, -0x0032
0000241A 204F movea.l A0, A7
0000241C 316E 000C 0018 move.w [A0 + 0x18], [A6 + 0xC]
00002422 A011 syscall GetEOF
00002424 3D40 000E move.w [A6 + 0xE], D0
00002428 226E 0008 movea.l A1, [A6 + 0x8]
0000242C 22A8 001C move.l [A1], [A0 + 0x1C]
00002430 4E5E unlink A6
00002432 225F movea.l A1, [A7]+
00002434 5C8F addq.l A7, 6
00002436 4ED1 jmp [A1]
00002438 4E56 FFCE link A6, -0x0032
0000243C 204F movea.l A0, A7
0000243E 316E 000E 0018 move.w [A0 + 0x18], [A6 + 0xE]
00002444 316E 000C 002C move.w [A0 + 0x2C], [A6 + 0xC]
0000244A 216E 0008 002E move.l [A0 + 0x2E], [A6 + 0x8]
00002450 A044 syscall SetFPos
00002452 3D40 0010 move.w [A6 + 0x10], D0
00002456 4E5E unlink A6
00002458 225F movea.l A1, [A7]+
0000245A 508F addq.l A7, 8
0000245C 4ED1 jmp [A1]
0000245E 225F movea.l A1, [A7]+
00002460 101F move.b D0, [A7]+
00002462 205F movea.l A0, [A7]+
00002464 6606 bne +0x8 /* 0000246C */
00002466 7001 moveq.l D0, 0x01
00002468 A260 syscall FSDispatch/HFSDispatch, flags=2
0000246A 6004 bra +0x6 /* 00002470 */
label0000246C:
0000246C 7001 moveq.l D0, 0x01
0000246E A660 syscall FSDispatch/HFSDispatch, flags=6
label00002470:
00002470 3E80 move.w [A7], D0
00002472 4ED1 jmp [A1]
00002474 225F movea.l A1, [A7]+
00002476 101F move.b D0, [A7]+
00002478 205F movea.l A0, [A7]+
0000247A 6606 bne +0x8 /* 00002482 */
0000247C 7009 moveq.l D0, 0x09
0000247E A260 syscall FSDispatch/HFSDispatch, flags=2
00002480 6004 bra +0x6 /* 00002486 */
label00002482:
00002482 7009 moveq.l D0, 0x09
00002484 A660 syscall FSDispatch/HFSDispatch, flags=6
label00002486:
00002486 3E80 move.w [A7], D0
00002488 4ED1 jmp [A1]
0000248A 225F movea.l A1, [A7]+
0000248C 101F move.b D0, [A7]+
0000248E 205F movea.l A0, [A7]+
00002490 6604 bne +0x6 /* 00002496 */
00002492 A207 syscall GetVolInfo/PBHGetVInfo/HGetVInfo, flags=2
00002494 6002 bra +0x4 /* 00002498 */
label00002496:
00002496 A607 syscall GetVolInfo/PBHGetVInfo/HGetVInfo, flags=6
label00002498:
00002498 3E80 move.w [A7], D0
0000249A 4ED1 jmp [A1]
0000249C 225F movea.l A1, [A7]+
0000249E 101F move.b D0, [A7]+
000024A0 205F movea.l A0, [A7]+
000024A2 6606 bne +0x8 /* 000024AA */
000024A4 7018 moveq.l D0, 0x18
000024A6 A260 syscall FSDispatch/HFSDispatch, flags=2
000024A8 6004 bra +0x6 /* 000024AE */
label000024AA:
000024AA 7018 moveq.l D0, 0x18
000024AC A660 syscall FSDispatch/HFSDispatch, flags=6
label000024AE:
000024AE 3E80 move.w [A7], D0
000024B0 4ED1 jmp [A1]
000024B2 225F movea.l A1, [A7]+
000024B4 201F move.l D0, [A7]+
000024B6 305F movea.w A0, [A7]+
000024B8 A02F syscall PostEvent/PPostEvent
000024BA 3E80 move.w [A7], D0
000024BC 4ED1 jmp [A1]
000024BE A061 syscall MaxBlock
000024C0 2F40 0004 move.l [A7 + 0x4], D0
000024C4 4E75 rts
000024C6 A166 syscall NewEmptyHandle, flags=1
000024C8 2F48 0004 move.l [A7 + 0x4], A0
000024CC 4E75 rts
000024CE 225F movea.l A1, [A7]+
000024D0 205F movea.l A0, [A7]+
000024D2 A069 syscall HGetState
000024D4 1E80 move.b [A7], D0
000024D6 4ED1 jmp [A1]
000024D8 225F movea.l A1, [A7]+
000024DA 101F move.b D0, [A7]+
000024DC 205F movea.l A0, [A7]+
000024DE A06A syscall HSetState
000024E0 4ED1 jmp [A1]
000024E2 225F movea.l A1, [A7]+
000024E4 7001 moveq.l D0, 0x01
000024E6 A198 syscall HWPriv, flags=1
000024E8 4ED1 jmp [A1]
000024EA 303C A8D7 move.w D0, 0xA8D7
000024EE A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
000024F0 2248 movea.l A1, A0
000024F2 303C A89F move.w D0, 0xA89F
000024F6 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
000024F8 B3C8 cmpa.l A1, A0
000024FA 6702 beq +0x4 /* 000024FE */
000024FC 4ED1 jmp [A1]
label000024FE:
000024FE 4E56 FFE2 link A6, -0x001E
00002502 48E7 1F3C movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A5
00002506 42AE FFF4 clr.l [A6 - 0xC]
0000250A 426E 0010 clr.w [A6 + 0x10]
0000250E 206E 000C movea.l A0, [A6 + 0xC]
00002512 2450 movea.l A2, [A0]
00002514 7000 moveq.l D0, 0x00
00002516 3012 move.w D0, [A2]
00002518 2D40 FFE6 move.l [A6 - 0x1A], D0
0000251C 226E 0008 movea.l A1, [A6 + 0x8]
00002520 3029 0004 move.w D0, [A1 + 0x4]
00002524 6A1A bpl +0x1C /* 00002540 */
00002526 0800 000E btst.b D0, 0xE
0000252A 6704 beq +0x6 /* 00002530 */
0000252C 2051 movea.l A0, [A1]
0000252E 2250 movea.l A1, [A0]
label00002530:
00002530 0C69 0001 0020 cmpi.w [A1 + 0x20], 0x1
00002536 6708 beq +0xA /* 00002540 */
00002538 303C FF6C move.w D0, 0xFF6C
0000253C 6000 025C bra +0x25E /* 0000279A */
label00002540:
00002540 3D69 0004 FFF0 move.w [A6 - 0x10], [A1 + 0x4]
00002546 026E 7FFF FFF0 andi.w [A6 - 0x10], 0x7FFF
0000254C 2429 0006 move.l D2, [A1 + 0x6]
00002550 3029 000C move.w D0, [A1 + 0xC]
00002554 9042 sub.w D0, D2
00002556 6F00 0246 ble +0x248 /* 0000279E */
0000255A 48C0 ext.l D0
0000255C 2800 move.l D4, D0
0000255E D884 add.l D4, D4
00002560 5C84 addq.l D4, 6
00002562 D884 add.l D4, D4
00002564 2D44 FFE2 move.l [A6 - 0x1E], D4
00002568 7E20 moveq.l D7, 0x20
0000256A 80C7 divu.w D0, D7
0000256C 2600 move.l D3, D0
0000256E 4843 swap.w D3
00002570 72FF moveq.l D1, 0xFFFFFFFF
00002572 4A43 tst.w D3
00002574 6706 beq +0x8 /* 0000257C */
00002576 5240 addq.w D0, 1
00002578 9E43 sub.w D7, D3
0000257A EFA1 asl D1, D7
label0000257C:
0000257C 2D41 FFF8 move.l [A6 - 0x8], D1
00002580 48C0 ext.l D0
00002582 2D40 FFFC move.l [A6 - 0x4], D0
00002586 E580 asl D0, 2
00002588 A322 syscall NewHandleClear, flags=3
0000258A 6600 020E bne +0x210 /* 0000279A */
0000258E 2D48 FFF4 move.l [A6 - 0xC], A0
00002592 2602 move.l D3, D2
00002594 4843 swap.w D3
00002596 3029 000A move.w D0, [A1 + 0xA]
0000259A 9043 sub.w D0, D3
0000259C 6F00 0200 ble +0x202 /* 0000279E */
000025A0 3D40 FFF2 move.w [A6 - 0xE], D0
000025A4 2851 movea.l A4, [A1]
000025A6 3E3C 000A move.w D7, 0xA /* '\n' */
label000025AA:
000025AA 246E 000C movea.l A2, [A6 + 0xC]
000025AE 2452 movea.l A2, [A2]
label000025B0:
000025B0 4BF2 7000 lea.l A5, [A2 + D7.w]
000025B4 222E FFE6 move.l D1, [A6 - 0x1A]
000025B8 9247 sub.w D1, D7
000025BA B2AE FFE2 cmp.l D1, [A6 - 0x1E]
000025BE 6C18 bge +0x1A /* 000025D8 */
000025C0 202E FFE6 move.l D0, [A6 - 0x1A]
000025C4 D0AE FFE2 add.l D0, [A6 - 0x1E]
000025C8 2D40 FFE6 move.l [A6 - 0x1A], D0
000025CC 206E 000C movea.l A0, [A6 + 0xC]
000025D0 A024 syscall SetHandleSize
000025D2 6600 01C6 bne +0x1C8 /* 0000279A */
000025D6 60D2 bra -0x2C /* 000025AA */
label000025D8:
000025D8 3802 move.w D4, D2
000025DA 7C00 moveq.l D6, 0x00
000025DC 224C movea.l A1, A4
000025DE 2A2E FFFC move.l D5, [A6 - 0x4]
000025E2 266E FFF4 movea.l A3, [A6 - 0xC]
000025E6 2653 movea.l A3, [A3]
000025E8 3003 move.w D0, D3
000025EA 6100 014C bsr +0x14E /* 00002738 */
000025EE 3D47 FFEE move.w [A6 - 0x12], D7
000025F2 6000 00F4 bra +0xF6 /* 000026E8 */
label000025F6:
000025F6 2019 move.l D0, [A1]+
label000025F8:
000025F8 2213 move.l D1, [A3]
000025FA B181 xor.l D1, D0
000025FC 6600 00AE bne +0xB0 /* 000026AC */
00002600 4A06 tst.b D6
00002602 6704 beq +0x6 /* 00002608 */
00002604 3AC4 move.w [A5]+, D4
00002606 7C00 moveq.l D6, 0x00
label00002608:
00002608 0644 0020 addi.w D4, 0x20 /* ' ' */
0000260C 584B addq.w A3, 4
0000260E 6000 00D8 bra +0xDA /* 000026E8 */
label00002612:
00002612 5644 addq.w D4, 3
label00002614:
00002614 3AC4 move.w [A5]+, D4
00002616 5244 addq.w D4, 1
label00002618:
00002618 4606 not.b D6
0000261A 4E75 rts
label0000261C:
0000261C 5444 addq.w D4, 2
0000261E 3AC4 move.w [A5]+, D4
label00002620:
00002620 6126 bsr +0x28 /* 00002648 */
label00002622:
00002622 5244 addq.w D4, 1
00002624 4E75 rts
label00002626:
00002626 5444 addq.w D4, 2
00002628 3AC4 move.w [A5]+, D4
0000262A 5444 addq.w D4, 2
0000262C 60EA bra -0x14 /* 00002618 */
fn0000262E:
0000262E 6118 bsr +0x1A /* 00002648 */
00002630 6116 bsr +0x18 /* 00002648 */
label00002632:
00002632 5444 addq.w D4, 2
00002634 4E75 rts
label00002636:
00002636 61F6 bsr -0x8 /* 0000262E */
00002638 5344 subq.w D4, 1
0000263A 60D8 bra -0x26 /* 00002614 */
label0000263C:
0000263C 610A bsr +0xC /* 00002648 */
0000263E 5244 addq.w D4, 1
00002640 60DE bra -0x20 /* 00002620 */
label00002642:
00002642 6104 bsr +0x6 /* 00002648 */
00002644 5644 addq.w D4, 3
00002646 60D0 bra -0x2E /* 00002618 */
fn00002648:
00002648 5244 addq.w D4, 1
0000264A 3AC4 move.w [A5]+, D4
0000264C 4E75 rts
label0000264E:
0000264E 3AC4 move.w [A5]+, D4
00002650 61F6 bsr -0x8 /* 00002648 */
00002652 5644 addq.w D4, 3
00002654 4E75 rts
label00002656:
00002656 3AC4 move.w [A5]+, D4
00002658 61EE bsr -0x10 /* 00002648 */
0000265A 5444 addq.w D4, 2
0000265C 60B6 bra -0x48 /* 00002614 */
label0000265E:
0000265E 3AC4 move.w [A5]+, D4
00002660 61E6 bsr -0x18 /* 00002648 */
00002662 61E4 bsr -0x1A /* 00002648 */
00002664 60BA bra -0x44 /* 00002620 */
label00002666:
00002666 3AC4 move.w [A5]+, D4
00002668 61DE bsr -0x20 /* 00002648 */
0000266A 61DC bsr -0x22 /* 00002648 */
0000266C 5444 addq.w D4, 2
0000266E 60A8 bra -0x56 /* 00002618 */
fn00002670:
00002670 3AC4 move.w [A5]+, D4
00002672 5444 addq.w D4, 2
00002674 3AC4 move.w [A5]+, D4
00002676 60BA bra -0x44 /* 00002632 */
label00002678:
00002678 61F6 bsr -0x8 /* 00002670 */
0000267A 5344 subq.w D4, 1
0000267C 6096 bra -0x68 /* 00002614 */
label0000267E:
0000267E 3AC4 move.w [A5]+, D4
00002680 5644 addq.w D4, 3
00002682 3AC4 move.w [A5]+, D4
00002684 609C bra -0x62 /* 00002622 */
00002686 6020 bra +0x22 /* 000026A8 */
00002688 6088 bra -0x76 /* 00002612 */
0000268A 6090 bra -0x6E /* 0000261C */
0000268C 6098 bra -0x66 /* 00002626 */
0000268E 609E bra -0x60 /* 0000262E */
00002690 60A4 bra -0x5A /* 00002636 */
00002692 60A8 bra -0x56 /* 0000263C */
00002694 60AC bra -0x52 /* 00002642 */
00002696 60B6 bra -0x48 /* 0000264E */
00002698 60BC bra -0x42 /* 00002656 */
0000269A 60C2 bra -0x3C /* 0000265E */
0000269C 60C8 bra -0x36 /* 00002666 */
0000269E 60D0 bra -0x2E /* 00002670 */
000026A0 60D6 bra -0x28 /* 00002678 */
000026A2 60DA bra -0x24 /* 0000267E */
000026A4 3AC4 move.w [A5]+, D4
000026A6 4606 not.b D6
label000026A8:
000026A8 5844 addq.w D4, 4
000026AA 4E75 rts
label000026AC:
000026AC 26C0 move.l [A3]+, D0
000026AE 7E03 moveq.l D7, 0x03
000026B0 7000 moveq.l D0, 0x00
label000026B2:
000026B2 E199 rol D1, 8
000026B4 4A01 tst.b D1
000026B6 6612 bne +0x14 /* 000026CA */
000026B8 4A06 tst.b D6
000026BA 660E bne +0x10 /* 000026CA */
000026BC 5044 addq.w D4, 8
000026BE 6024 bra +0x26 /* 000026E4 */
label000026C0:
000026C0 2011 move.l D0, [A1]
000026C2 C0AE FFF8 and.l D0, [A6 - 0x8]
000026C6 6000 FF30 bra -0xCE /* 000025F8 */
label000026CA:
000026CA 1001 move.b D0, D1
000026CC BD00 xor.b D0, D6
000026CE E808 lsr D0.b, 4
000026D0 D040 add.w D0, D0
000026D2 4EBB 00B2 jsr [PC + D0.w - 0x78]
000026D6 1001 move.b D0, D1
000026D8 BD00 xor.b D0, D6
000026DA 0240 000F andi.w D0, 0xF
000026DE D040 add.w D0, D0
000026E0 4EBB 00A4 jsr [PC + D0.w - 0x92]
label000026E4:
000026E4 51CF FFCC dbf D7, -0x36 /* 000026B2 */
label000026E8:
000026E8 5345 subq.w D5, 1
000026EA 6E00 FF0A bgt -0xF4 /* 000025F6 */
000026EE 67D0 beq -0x2E /* 000026C0 */
000026F0 3E0D move.w D7, A5
000026F2 9E4A sub.w D7, A2
000026F4 BE6E FFEE cmp.w D7, [A6 - 0x12]
000026F8 6734 beq +0x36 /* 0000272E */
000026FA 6D00 009A blt +0x9C /* 00002796 */
000026FE 4A06 tst.b D6
00002700 6704 beq +0x6 /* 00002706 */
00002702 3AC4 move.w [A5]+, D4
00002704 5447 addq.w D7, 2
label00002706:
00002706 612C bsr +0x2E /* 00002734 */
label00002708:
00002708 5243 addq.w D3, 1
0000270A 3802 move.w D4, D2
0000270C D8EE FFF0 add.w A4, [A6 - 0x10]
00002710 536E FFF2 subq.w [A6 - 0xE], 1
00002714 6E00 FE9A bgt -0x164 /* 000025B0 */
00002718 6D24 blt +0x26 /* 0000273E */
0000271A 202E FFFC move.l D0, [A6 - 0x4]
0000271E E580 asl D0, 2
00002720 A322 syscall NewHandleClear, flags=3
00002722 6676 bne +0x78 /* 0000279A */
00002724 2D48 FFEA move.l [A6 - 0x16], A0
00002728 2850 movea.l A4, [A0]
0000272A 6000 FE7E bra -0x180 /* 000025AA */
label0000272E:
0000272E 558D subq.l A5, 2
00002730 5547 subq.w D7, 2
00002732 60D4 bra -0x2A /* 00002708 */
fn00002734:
00002734 303C 7FFF move.w D0, 0x7FFF
fn00002738:
00002738 3AC0 move.w [A5]+, D0
0000273A 5447 addq.w D7, 2
0000273C 4E75 rts
label0000273E:
0000273E 206E FFEA movea.l A0, [A6 - 0x16]
00002742 2008 move.l D0, A0
00002744 6702 beq +0x4 /* 00002748 */
00002746 A023 syscall DisposHandle/DisposeHandle
label00002748:
00002748 0C47 000A cmpi.w D7, 0xA /* '\n' */
0000274C 6750 beq +0x52 /* 0000279E */
0000274E 61E4 bsr -0x1A /* 00002734 */
00002750 6B44 bmi +0x46 /* 00002796 */
00002752 41EA 000A lea.l A0, [A2 + 0xA]
00002756 383C 7FFF move.w D4, 0x7FFF
0000275A 3204 move.w D1, D4
0000275C 343C 8000 move.w D2, 0x8000
00002760 3610 move.w D3, [A0]
00002762 6018 bra +0x1A /* 0000277C */
label00002764:
00002764 2248 movea.l A1, A0
00002766 B258 cmp.w D1, [A0]+
00002768 6F04 ble +0x6 /* 0000276E */
0000276A 3228 FFFE move.w D1, [A0 - 0x2]
label0000276E:
0000276E B858 cmp.w D4, [A0]+
00002770 66FC bne -0x2 /* 0000276E */
00002772 B468 FFFC cmp.w D2, [A0 - 0x4]
00002776 6C04 bge +0x6 /* 0000277C */
00002778 3428 FFFC move.w D2, [A0 - 0x4]
label0000277C:
0000277C 3018 move.w D0, [A0]+
0000277E B044 cmp.w D0, D4
00002780 66E2 bne -0x1C /* 00002764 */
00002782 4843 swap.w D3
00002784 3601 move.w D3, D1
00002786 3829 FFFE move.w D4, [A1 - 0x2]
0000278A 4844 swap.w D4
0000278C 3802 move.w D4, D2
0000278E 0C47 001C cmpi.w D7, 0x1C
00002792 6714 beq +0x16 /* 000027A8 */
00002794 6014 bra +0x16 /* 000027AA */
label00002796:
00002796 303C FE0C move.w D0, 0xFE0C
label0000279A:
0000279A 3D40 0010 move.w [A6 + 0x10], D0
label0000279E:
0000279E 206E 000C movea.l A0, [A6 + 0xC]
000027A2 2450 movea.l A2, [A0]
000027A4 7600 moveq.l D3, 0x00
000027A6 7800 moveq.l D4, 0x00
label000027A8:
000027A8 7E0A moveq.l D7, 0x0A
label000027AA:
000027AA 34C7 move.w [A2]+, D7
000027AC 24C3 move.l [A2]+, D3
000027AE 2484 move.l [A2], D4
000027B0 2007 move.l D0, D7
000027B2 206E 000C movea.l A0, [A6 + 0xC]
000027B6 A024 syscall SetHandleSize
000027B8 206E FFF4 movea.l A0, [A6 - 0xC]
000027BC 2008 move.l D0, A0
000027BE 6702 beq +0x4 /* 000027C2 */
000027C0 A023 syscall DisposHandle/DisposeHandle
label000027C2:
000027C2 4CDF 3CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4,A5, [A7]+
000027C6 4E5E unlink A6
000027C8 205F movea.l A0, [A7]+
000027CA 504F addq.w A7, 8
000027CC 4ED0 jmp [A0]
000027CE 4E56 FF7C link A6, -0x0084
000027D2 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4
000027D6 266E 0008 movea.l A3, [A6 + 0x8]
000027DA 286E 000C movea.l A4, [A6 + 0xC]
000027DE 3A2E 0016 move.w D5, [A6 + 0x16]
000027E2 2C2E 0012 move.l D6, [A6 + 0x12]
000027E6 4204 clr.b D4
000027E8 558F subq.l A7, 2
000027EA 2F3C 666F 6C64 move.l -[A7], 0x666F6C64 /* 'fold' */
000027F0 486E FF7C pea.l [A6 - 0x84]
000027F4 4EBA 036A jsr [PC + 0x36A /* 00002B60 */]
000027F8 3E1F move.w D7, [A7]+
000027FA 660C bne +0xE /* 00002808 */
000027FC 202E FF7C move.l D0, [A6 - 0x84]
00002800 0800 0000 btst.b D0, 0x0
00002804 6702 beq +0x4 /* 00002808 */
00002806 7801 moveq.l D4, 0x01
label00002808:
00002808 4A04 tst.b D4
0000280A 671A beq +0x1C /* 00002826 */
0000280C 558F subq.l A7, 2
0000280E 3F05 move.w -[A7], D5
00002810 2F06 move.l -[A7], D6
00002812 1F2E 0010 move.b -[A7], [A6 + 0x10]
00002816 2F0C move.l -[A7], A4
00002818 2F0B move.l -[A7], A3
0000281A 7000 moveq.l D0, 0x00
0000281C A823 syscall AliasDispatch
0000281E 3D5F 0018 move.w [A6 + 0x18], [A7]+
00002822 6000 00E4 bra +0xE6 /* 00002908 */
label00002826:
00002826 0C86 6D61 6373 cmpi.l D6, 0x6D616373 /* 'macs' */
0000282C 6742 beq +0x44 /* 00002870 */
0000282E 0C86 7465 6D70 cmpi.l D6, 0x74656D70 /* 'temp' */
00002834 673A beq +0x3C /* 00002870 */
00002836 0C86 7072 6566 cmpi.l D6, 0x70726566 /* 'pref' */
0000283C 6732 beq +0x34 /* 00002870 */
0000283E 0C86 6578 746E cmpi.l D6, 0x6578746E /* 'extn' */
00002844 672A beq +0x2C /* 00002870 */
00002846 0C86 6374 726C cmpi.l D6, 0x6374726C /* 'ctrl' */
0000284C 6722 beq +0x24 /* 00002870 */
0000284E 0C86 616D 6E75 cmpi.l D6, 0x616D6E75 /* 'amnu' */
00002854 671A beq +0x1C /* 00002870 */
00002856 0C86 7374 7274 cmpi.l D6, 0x73747274 /* 'strt' */
0000285C 6712 beq +0x14 /* 00002870 */
0000285E 0C86 7072 6E74 cmpi.l D6, 0x70726E74 /* 'prnt' */
00002864 670A beq +0xC /* 00002870 */
00002866 3D7C FFCE 0018 move.w [A6 + 0x18], 0xFFCE
0000286C 6000 009A bra +0x9C /* 00002908 */
label00002870:
00002870 7000 moveq.l D0, 0x00
00002872 2D40 FF92 move.l [A6 - 0x6E], D0
00002876 0C45 8000 cmpi.w D5, 0x8000
0000287A 6624 bne +0x26 /* 000028A0 */
0000287C 3D78 0A58 FF98 move.w [A6 - 0x68], [0x00000A58 /* SysMap */]
00002882 426E FF9C clr.w [A6 - 0x64]
00002886 7002 moveq.l D0, 0x02
00002888 2D40 FFBA move.l [A6 - 0x46], D0
0000288C 41EE FF80 lea.l A0, [A6 - 0x80]
00002890 7008 moveq.l D0, 0x08
00002892 A260 syscall FSDispatch/HFSDispatch, flags=2
00002894 3E00 move.w D7, D0
00002896 666C bne +0x6E /* 00002904 */
00002898 3D6E FFB4 FF96 move.w [A6 - 0x6A], [A6 - 0x4C]
0000289E 6004 bra +0x6 /* 000028A4 */
label000028A0:
000028A0 3D45 FF96 move.w [A6 - 0x6A], D5
label000028A4:
000028A4 7006 moveq.l D0, 0x06
000028A6 2D40 FFA4 move.l [A6 - 0x5C], D0
000028AA 41EE FFFA lea.l A0, [A6 - 0x6]
000028AE 2D48 FFA0 move.l [A6 - 0x60], A0
000028B2 41EE FF80 lea.l A0, [A6 - 0x80]
000028B6 7030 moveq.l D0, 0x30
000028B8 A260 syscall FSDispatch/HFSDispatch, flags=2
000028BA 3E00 move.w D7, D0
000028BC 0C47 FFCE cmpi.w D7, 0xFFCE
000028C0 6710 beq +0x12 /* 000028D2 */
000028C2 4A47 tst.w D7
000028C4 6638 bne +0x3A /* 000028FE */
000028C6 203C 0002 0000 move.l D0, 0x20000
000028CC C0AE FFFC and.l D0, [A6 - 0x4]
000028D0 672C beq +0x2E /* 000028FE */
label000028D2:
000028D2 426E FF9C clr.w [A6 - 0x64]
000028D6 7000 moveq.l D0, 0x00
000028D8 2D40 FFDA move.l [A6 - 0x26], D0
000028DC 2D40 FFB0 move.l [A6 - 0x50], D0
000028E0 41EE FF80 lea.l A0, [A6 - 0x80]
000028E4 A207 syscall GetVolInfo/PBHGetVInfo/HGetVInfo, flags=2
000028E6 3E00 move.w D7, D0
000028E8 661A bne +0x1C /* 00002904 */
000028EA 4AAE FFDA tst.l [A6 - 0x26]
000028EE 670A beq +0xC /* 000028FA */
000028F0 38AE FF96 move.w [A4], [A6 - 0x6A]
000028F4 26AE FFDA move.l [A3], [A6 - 0x26]
000028F8 600A bra +0xC /* 00002904 */
label000028FA:
000028FA 7ED5 moveq.l D7, 0xFFFFFFD5
000028FC 6006 bra +0x8 /* 00002904 */
label000028FE:
000028FE 4A47 tst.w D7
00002900 6602 bne +0x4 /* 00002904 */
00002902 7ED5 moveq.l D7, 0xFFFFFFD5
label00002904:
00002904 3D47 0018 move.w [A6 + 0x18], D7
label00002908:
00002908 4CEE 18F0 FF64 movem.l D4,D5,D6,D7,A3,A4, [A6 - 0x9C]
0000290E 4E5E unlink A6
00002910 205F movea.l A0, [A7]+
00002912 4FEF 0010 lea.l A7, [A7 + 0x10]
00002916 4ED0 jmp [A0]
00002918 8A46 or.w D5, D6
0000291A 494E chk.w D4, A6
0000291C 4446 neg.w D6
0000291E 4F4C chk.w D7, A4
00002920 4445 neg.w D5
00002922 5200 addq.b D0, 1
00002924 0000 206F ori.b D0, 0x6F /* 'o' */
// begin alternate branch 00002926-0000292C
fn00002926:
00002926 206F 0004 movea.l A0, [A7 + 0x4]
0000292A 2050 movea.l A0, [A0]
// end alternate branch 00002926-0000292C
fn00002926: // (misaligned)
00002928 0004 2050 ori.b D4, 0x50 /* 'P' */
0000292C A9E1 syscall HandToHand
0000292E 226F 0004 movea.l A1, [A7 + 0x4]
00002932 2288 move.l [A1], A0
00002934 3F40 0008 move.w [A7 + 0x8], D0
00002938 2E9F move.l [A7], [A7]+
0000293A 4E75 rts
0000293C 206F 000C movea.l A0, [A7 + 0xC]
00002940 202F 0004 move.l D0, [A7 + 0x4]
00002944 A9E3 syscall PtrToHand
00002946 3F40 0010 move.w [A7 + 0x10], D0
0000294A 226F 0008 movea.l A1, [A7 + 0x8]
0000294E 2288 move.l [A1], A0
00002950 205F movea.l A0, [A7]+
00002952 4FEF 000C lea.l A7, [A7 + 0xC]
00002956 4ED0 jmp [A0]
00002958 202F 0004 move.l D0, [A7 + 0x4]
0000295C 226F 0008 movea.l A1, [A7 + 0x8]
00002960 206F 000C movea.l A0, [A7 + 0xC]
00002964 A9EF syscall PtrAndHand
00002966 3F40 0010 move.w [A7 + 0x10], D0
0000296A 205F movea.l A0, [A7]+
0000296C 4FEF 000C lea.l A7, [A7 + 0xC]
00002970 4ED0 jmp [A0]
fn00002972:
00002972 4E56 0000 link A6, 0
00002976 594F subq.w A7, 4
00002978 2F3C 5354 5223 move.l -[A7], 0x53545223 /* 'STR#' */
0000297E 3F2E 000A move.w -[A7], [A6 + 0xA]
00002982 A9A0 syscall GetResource
00002984 226E 000C movea.l A1, [A6 + 0xC]
00002988 4211 clr.b [A1]
0000298A 201F move.l D0, [A7]+
0000298C 6722 beq +0x24 /* 000029B0 */
0000298E 2040 movea.l A0, D0
00002990 2050 movea.l A0, [A0]
00002992 3018 move.w D0, [A0]+
00002994 322E 0008 move.w D1, [A6 + 0x8]
00002998 6716 beq +0x18 /* 000029B0 */
0000299A B240 cmp.w D1, D0
0000299C 6212 bhi +0x14 /* 000029B0 */
0000299E 7000 moveq.l D0, 0x00
label000029A0:
000029A0 5341 subq.w D1, 1
000029A2 6706 beq +0x8 /* 000029AA */
000029A4 1018 move.b D0, [A0]+
000029A6 D1C0 add.l A0, D0
000029A8 60F6 bra -0x8 /* 000029A0 */
label000029AA:
000029AA 1010 move.b D0, [A0]
000029AC 5240 addq.w D0, 1
000029AE A02E syscall BlockMove/BlockMoveData
label000029B0:
000029B0 4E5E unlink A6
000029B2 205F movea.l A0, [A7]+
000029B4 508F addq.l A7, 8
000029B6 4ED0 jmp [A0]
000029B8 4E56 0000 link A6, 0
000029BC 594F subq.w A7, 4
000029BE 2F3C 5041 5423 move.l -[A7], 0x50415423 /* 'PAT#' */
000029C4 3F2E 000A move.w -[A7], [A6 + 0xA]
000029C8 A9A0 syscall GetResource
000029CA 226E 000C movea.l A1, [A6 + 0xC]
000029CE 201F move.l D0, [A7]+
000029D0 671C beq +0x1E /* 000029EE */
000029D2 2040 movea.l A0, D0
000029D4 2050 movea.l A0, [A0]
000029D6 3018 move.w D0, [A0]+
000029D8 322E 0008 move.w D1, [A6 + 0x8]
000029DC 6710 beq +0x12 /* 000029EE */
000029DE B240 cmp.w D1, D0
000029E0 620C bhi +0xE /* 000029EE */
label000029E2:
000029E2 5341 subq.w D1, 1
000029E4 6704 beq +0x6 /* 000029EA */
000029E6 5048 addq.w A0, 8
000029E8 60F8 bra -0x6 /* 000029E2 */
label000029EA:
000029EA 22D8 move.l [A1]+, [A0]+
000029EC 2290 move.l [A1], [A0]
label000029EE:
000029EE 4E5E unlink A6
000029F0 205F movea.l A0, [A7]+
000029F2 508F addq.l A7, 8
000029F4 4ED0 jmp [A0]
000029F6 4A78 028E tst.w [0x0000028E /* ROM85 */]
000029FA 6B22 bmi +0x24 /* 00002A1E */
000029FC 303C 0090 move.w D0, 0x90
00002A00 A346 syscall GetOSTrapAddress, flags=3
00002A02 2248 movea.l A1, A0
00002A04 303C 009F move.w D0, 0x9F
00002A08 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00002A0A B3C8 cmpa.l A1, A0
00002A0C 6710 beq +0x12 /* 00002A1E */
00002A0E 225F movea.l A1, [A7]+
00002A10 205F movea.l A0, [A7]+
00002A12 301F move.w D0, [A7]+
00002A14 2F09 move.l -[A7], A1
00002A16 A090 syscall SysEnvirons
00002A18 3F40 0004 move.w [A7 + 0x4], D0
00002A1C 4E75 rts
label00002A1E:
00002A1E 206F 0004 movea.l A0, [A7 + 0x4]
00002A22 303C 0001 move.w D0, 0x1
00002A26 2248 movea.l A1, A0
00002A28 6006 bra +0x8 /* 00002A30 */
00002A2A 0313 btst [A3], D1
00002A2C 0B02 btst D2, D5
00002A2E 0100 btst D0, D0
label00002A30:
00002A30 303C 0010 move.w D0, 0x10
00002A34 E240 asr D0.w, 1
00002A36 5340 subq.w D0, 1
label00002A38:
00002A38 4258 clr.w [A0]+
00002A3A 51C8 FFFC dbf D0, -0x6 /* 00002A38 */
00002A3E 32BC 0001 move.w [A1], 0x1
00002A42 2078 02AE movea.l A0, [0x000002AE /* ROMBase */]
00002A46 337C FFFE 0002 move.w [A1 + 0x2], 0xFFFE
00002A4C 0C28 00FF 0009 cmpi.b [A0 + 0x9], 0xFF
00002A52 6742 beq +0x44 /* 00002A96 */
00002A54 4A28 0008 tst.b [A0 + 0x8]
00002A58 6E20 bgt +0x22 /* 00002A7A */
00002A5A 337C FFFF 0002 move.w [A1 + 0x2], 0xFFFF
00002A60 4A78 028E tst.w [0x0000028E /* ROM85 */]
00002A64 6B30 bmi +0x32 /* 00002A96 */
00002A66 337C 0001 0002 move.w [A1 + 0x2], 0x1
00002A6C 4A78 0B22 tst.w [0x00000B22 /* HWCfgFlags */]
00002A70 6A24 bpl +0x26 /* 00002A96 */
00002A72 337C 0002 0002 move.w [A1 + 0x2], 0x2
00002A78 601C bra +0x1E /* 00002A96 */
label00002A7A:
00002A7A 4269 0002 clr.w [A1 + 0x2]
00002A7E 0C28 0002 0008 cmpi.b [A0 + 0x8], 0x2
00002A84 6E10 bgt +0x12 /* 00002A96 */
00002A86 6708 beq +0xA /* 00002A90 */
00002A88 337C 0004 0002 move.w [A1 + 0x2], 0x4
00002A8E 6006 bra +0x8 /* 00002A96 */
label00002A90:
00002A90 337C 0003 0002 move.w [A1 + 0x2], 0x3
label00002A96:
00002A96 4269 0004 clr.w [A1 + 0x4]
00002A9A 0C38 0002 012F cmpi.b [0x0000012F /* CPUFlag */], 0x2
00002AA0 6E0A bgt +0xC /* 00002AAC */
00002AA2 1038 012F move.b D0, [0x0000012F /* CPUFlag */]
00002AA6 5240 addq.w D0, 1
00002AA8 1340 0007 move.b [A1 + 0x7], D0
label00002AAC:
00002AAC 4A78 028E tst.w [0x0000028E /* ROM85 */]
00002AB0 6B0E bmi +0x10 /* 00002AC0 */
00002AB2 0838 0004 0B22 btst.b [0x00000B22 /* HWCfgFlags */], 0x4
00002AB8 6706 beq +0x8 /* 00002AC0 */
00002ABA 137C 0001 0008 move.b [A1 + 0x8], 0x1
label00002AC0:
00002AC0 0C78 3FFF 028E cmpi.w [0x0000028E /* ROM85 */], 0x3FFF
00002AC6 6206 bhi +0x8 /* 00002ACE */
00002AC8 137C 0001 0009 move.b [A1 + 0x9], 0x1
label00002ACE:
00002ACE 1038 021E move.b D0, [0x0000021E /* KbdType */]
00002AD2 41FA FF5B lea.l A0, [PC - 0xA5 /* 00002A2F, value 0x303C00 '0<\0', cstring "" */]
00002AD6 323C 0004 move.w D1, 0x4
label00002ADA:
00002ADA B020 cmp.b D0, -[A0]
00002ADC 57C9 FFFC dbeq D1, -0x6 /* 00002ADA */
00002AE0 5241 addq.w D1, 1
00002AE2 3341 000A move.w [A1 + 0xA], D1
00002AE6 4A38 0291 tst.b [0x00000291 /* PortBUse */]
00002AEA 6B18 bmi +0x1A /* 00002B04 */
00002AEC 1238 01FB move.b D1, [0x000001FB /* SPConfig */]
00002AF0 0201 000F andi.b D1, 0xF
00002AF4 0C01 0001 cmpi.b D1, 0x1
00002AF8 660A bne +0xC /* 00002B04 */
00002AFA 2078 02DC movea.l A0, [0x000002DC /* ABusDCE */]
00002AFE 1368 0007 000D move.b [A1 + 0xD], [A0 + 0x7]
label00002B04:
00002B04 3378 0210 000E move.w [A1 + 0xE], [0x00000210 /* BootDrive */]
00002B0A 4A78 03F6 tst.w [0x000003F6 /* FSFCBLen */]
00002B0E 6D44 blt +0x46 /* 00002B54 */
00002B10 4269 000E clr.w [A1 + 0xE]
00002B14 323C 003C move.w D1, 0x3C /* '<' */
label00002B18:
00002B18 4267 clr.w -[A7]
00002B1A 51C9 FFFC dbf D1, -0x6 /* 00002B18 */
00002B1E 204F movea.l A0, A7
00002B20 3178 0A58 0018 move.w [A0 + 0x18], [0x00000A58 /* SysMap */]
00002B26 7008 moveq.l D0, 0x08
00002B28 A260 syscall FSDispatch/HFSDispatch, flags=2
00002B2A 6624 bne +0x26 /* 00002B50 */
00002B2C 3168 0034 0016 move.w [A0 + 0x16], [A0 + 0x34]
00002B32 A207 syscall GetVolInfo/PBHGetVInfo/HGetVInfo, flags=2
00002B34 661A bne +0x1C /* 00002B50 */
00002B36 2168 005A 0030 move.l [A0 + 0x30], [A0 + 0x5A]
00002B3C 217C 4552 494B 001C move.l [A0 + 0x1C], 0x4552494B /* 'ERIK' */
00002B44 7001 moveq.l D0, 0x01
00002B46 A260 syscall FSDispatch/HFSDispatch, flags=2
00002B48 6606 bne +0x8 /* 00002B50 */
00002B4A 3368 0016 000E move.w [A1 + 0xE], [A0 + 0x16]
label00002B50:
00002B50 4FEF 007A lea.l A7, [A7 + 0x7A]
label00002B54:
00002B54 2049 movea.l A0, A1
00002B56 225F movea.l A1, [A7]+
00002B58 5C4F addq.w A7, 6
00002B5A 3EBC EA84 move.w [A7], 0xEA84
00002B5E 4ED1 jmp [A1]
fn00002B60:
00002B60 4E56 0000 link A6, 0
00002B64 203C 0000 A89F move.l D0, 0xA89F
00002B6A A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00002B6C 2F08 move.l -[A7], A0
00002B6E 203C 0000 A0AD move.l D0, 0xA0AD
00002B74 A346 syscall GetOSTrapAddress, flags=3
00002B76 B1DF cmpa.l A0, [A7]+
00002B78 670E beq +0x10 /* 00002B88 */
00002B7A 202E 000C move.l D0, [A6 + 0xC]
00002B7E A1AD syscall Gestalt, flags=1
00002B80 226E 0008 movea.l A1, [A6 + 0x8]
00002B84 2288 move.l [A1], A0
00002B86 6026 bra +0x28 /* 00002BAE */
label00002B88:
00002B88 41FA 0036 lea.l A0, [PC + 0x36 /* 00002BC0, value 0x76657273 'vers', cstring "vers" */]
00002B8C 303C EA51 move.w D0, 0xEA51
00002B90 222E 000C move.l D1, [A6 + 0xC]
label00002B94:
00002B94 B298 cmp.l D1, [A0]+
00002B96 6706 beq +0x8 /* 00002B9E */
00002B98 4A98 tst.l [A0]+
00002B9A 6712 beq +0x14 /* 00002BAE */
00002B9C 60F6 bra -0x8 /* 00002B94 */
label00002B9E:
00002B9E 43FA 0020 lea.l A1, [PC + 0x20 /* 00002BC0, value 0x76657273 'vers', cstring "vers" */]
00002BA2 D3D0 add.l A1, [A0]
00002BA4 4ED1 jmp [A1]
label00002BA6:
00002BA6 226E 0008 movea.l A1, [A6 + 0x8]
00002BAA 2280 move.l [A1], D0
00002BAC 4240 clr.w D0
label00002BAE:
00002BAE 3D40 0010 move.w [A6 + 0x10], D0
00002BB2 4E5E unlink A6
00002BB4 205F movea.l A0, [A7]+
00002BB6 508F addq.l A7, 8
00002BB8 4ED0 jmp [A0]
label00002BBA:
00002BBA 303C EA52 move.w D0, 0xEA52
00002BBE 60EE bra -0x10 /* 00002BAE */
00002BC0 7665 moveq.l D3, 0x65
00002BC2 7273 moveq.l D1, 0x73
00002BC4 0000 0060 ori.b D0, 0x60 /* '`' */
00002BC8 6D61 blt +0x63 /* 00002C2B */
00002BCA 6368 bls +0x6A /* 00002C34 */
00002BCC 0000 0064 ori.b D0, 0x64 /* 'd' */
00002BD0 7379 moveq.l D1, 0x79
00002BD2 7376 moveq.l D1, 0x76
00002BD4 0000 0088 ori.b D0, 0x88
00002BD8 7072 moveq.l D0, 0x72
00002BDA 6F63 ble +0x65 /* 00002C3F */
00002BDC 0000 0092 ori.b D0, 0x92
00002BE0 6670 bne +0x72 /* 00002C52 */
00002BE2 7520 moveq.l D2, 0x20
00002BE4 0000 009E ori.b D0, 0x9E
00002BE8 7164 moveq.l D0, 0x64
00002BEA 2020 move.l D0, -[A0]
00002BEC 0000 00E8 ori.b D0, 0xE8
00002BF0 6B62 bmi +0x64 /* 00002C54 */
00002BF2 6420 bcc +0x22 /* 00002C14 */
00002BF4 0000 011A ori.b D0, 0x1A
00002BF8 6174 bsr +0x76 /* 00002C6E */
00002BFA 6C6B bge +0x6D /* 00002C67 */
00002BFC 0000 0142 ori.b D0, 0x42 /* 'B' */
00002C00 6D6D blt +0x6F /* 00002C6F */
00002C02 7520 moveq.l D2, 0x20
00002C04 0000 0164 ori.b D0, 0x64 /* 'd' */
00002C08 7261 moveq.l D1, 0x61
00002C0A 6D20 blt +0x22 /* 00002C2C */
00002C0C 0000 0188 ori.b D0, 0x88
00002C10 6C72 bge +0x74 /* 00002C84 */
00002C12 616D bsr +0x6F /* 00002C81 */
label00002C14:
00002C14 0000 0188 ori.b D0, 0x88
00002C18 0000 0000 ori.b D0, 0x0
00002C1C 0000 0000 ori.b D0, 0x0
00002C20 7001 moveq.l D0, 0x01
00002C22 6082 bra -0x7C /* 00002BA6 */
00002C24 2278 02AE movea.l A1, [0x000002AE /* ROMBase */]
00002C28 7004 moveq.l D0, 0x04
00002C2A 0C69 0075 0008 cmpi.w [A1 + 0x8], 0x75 /* 'u' */
// begin alternate branch 00002C2C-00002C34
label00002C2C:
00002C2C 0075 0008 6712 0C69 ori.w [[A5 + D6 * 8] + 0xC69], 0x8
// end alternate branch 00002C2C-00002C34
label00002C2C: // (misaligned)
00002C30 6712 beq +0x14 /* 00002C44 */
00002C32 0C69 0276 0008 cmpi.w [A1 + 0x8], 0x276
// begin alternate branch 00002C34-00002C3A
label00002C34:
00002C34 0276 0008 6604 andi.w [A6 + D6.w * 8 + 0x4], 0x8
// end alternate branch 00002C34-00002C3A
label00002C34: // (misaligned)
00002C38 6604 bne +0x6 /* 00002C3E */
00002C3A 5240 addq.w D0, 1
00002C3C 6006 bra +0x8 /* 00002C44 */
label00002C3E:
00002C3E 1038 0CB3 move.b D0, [0x00000CB3 /* MMUFluff/MachineType */]
00002C42 5C80 addq.l D0, 6
label00002C44:
00002C44 6000 FF60 bra -0x9E /* 00002BA6 */
00002C48 7000 moveq.l D0, 0x00
00002C4A 3038 015A move.w D0, [0x0000015A /* SysVersion */]
00002C4E 6000 FF56 bra -0xA8 /* 00002BA6 */
label00002C52:
00002C52 7000 moveq.l D0, 0x00
label00002C54:
00002C54 1038 012F move.b D0, [0x0000012F /* CPUFlag */]
00002C58 5240 addq.w D0, 1
00002C5A 6000 FF4A bra -0xB4 /* 00002BA6 */
00002C5E 0C38 0004 012F cmpi.b [0x0000012F /* CPUFlag */], 0x4
00002C64 6738 beq +0x3A /* 00002C9E */
00002C66 0838 0004 0B22 btst.b [0x00000B22 /* HWCfgFlags */], 0x4
00002C6C 6734 beq +0x36 /* 00002CA2 */
fn00002C6E:
00002C6E 204F movea.l A0, A7
00002C70 F280 0000 fnop
00002C74 F327 .extension 0x327 <<F/4-5/1>> // unimplemented
00002C76 3017 move.w D0, [A7]
00002C78 2E48 movea.l A7, A0
00002C7A 0C40 1F18 cmpi.w D0, 0x1F18
00002C7E 6716 beq +0x18 /* 00002C96 */
00002C80 0C40 3F18 cmpi.w D0, 0x3F18
label00002C84:
00002C84 6710 beq +0x12 /* 00002C96 */
00002C86 0C40 3F38 cmpi.w D0, 0x3F38 /* '?8' */
00002C8A 670E beq +0x10 /* 00002C9A */
00002C8C 0C40 1F38 cmpi.w D0, 0x1F38
00002C90 6708 beq +0xA /* 00002C9A */
00002C92 7000 moveq.l D0, 0x00
00002C94 600E bra +0x10 /* 00002CA4 */
label00002C96:
00002C96 7001 moveq.l D0, 0x01
00002C98 600A bra +0xC /* 00002CA4 */
label00002C9A:
00002C9A 7002 moveq.l D0, 0x02
00002C9C 6006 bra +0x8 /* 00002CA4 */
label00002C9E:
00002C9E 7003 moveq.l D0, 0x03
00002CA0 6002 bra +0x4 /* 00002CA4 */
label00002CA2:
00002CA2 7000 moveq.l D0, 0x00
label00002CA4:
00002CA4 6000 FF00 bra -0xFE /* 00002BA6 */
00002CA8 0C78 3FFF 028E cmpi.w [0x0000028E /* ROM85 */], 0x3FFF
00002CAE 6E1C bgt +0x1E /* 00002CCC */
00002CB0 303C A89F move.w D0, 0xA89F
00002CB4 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00002CB6 2408 move.l D2, A0
00002CB8 203C 0000 AB03 move.l D0, 0xAB03
00002CBE A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00002CC0 203C 0000 0100 move.l D0, 0x100
00002CC6 B488 cmp.l D2, A0
00002CC8 6606 bne +0x8 /* 00002CD0 */
00002CCA 600A bra +0xC /* 00002CD6 */
label00002CCC:
00002CCC 7000 moveq.l D0, 0x00
00002CCE 6006 bra +0x8 /* 00002CD6 */
label00002CD0:
00002CD0 203C 0000 0200 move.l D0, 0x200
label00002CD6:
00002CD6 6000 FECE bra -0x130 /* 00002BA6 */
00002CDA 1038 021E move.b D0, [0x0000021E /* KbdType */]
00002CDE 41FA 0016 lea.l A0, [PC + 0x16 /* 00002CF6, value 0x3130B02 */]
00002CE2 2248 movea.l A1, A0
label00002CE4:
00002CE4 1218 move.b D1, [A0]+
00002CE6 6700 FED2 beq -0x12C /* 00002BBA */
00002CEA B200 cmp.b D1, D0
00002CEC 66F6 bne -0x8 /* 00002CE4 */
00002CEE 91C9 sub.l A0, A1
00002CF0 2008 move.l D0, A0
00002CF2 6000 FEB2 bra -0x14C /* 00002BA6 */
00002CF6 0313 btst [A3], D1
00002CF8 0B02 btst D2, D5
00002CFA 0106 btst D6, D0
00002CFC 0704 btst D4, D3
00002CFE 0508 btst A0, D2
00002D00 0900 btst D0, D4
00002D02 7000 moveq.l D0, 0x00
00002D04 4A38 0291 tst.b [0x00000291 /* PortBUse */]
00002D08 6B16 bmi +0x18 /* 00002D20 */
00002D0A 1238 01FB move.b D1, [0x000001FB /* SPConfig */]
00002D0E 0201 000F andi.b D1, 0xF
00002D12 0C01 0001 cmpi.b D1, 0x1
00002D16 6608 bne +0xA /* 00002D20 */
00002D18 2078 02DC movea.l A0, [0x000002DC /* ABusDCE */]
00002D1C 1028 0007 move.b D0, [A0 + 0x7]
label00002D20:
00002D20 6000 FE84 bra -0x17A /* 00002BA6 */
00002D24 0C38 0002 012F cmpi.b [0x0000012F /* CPUFlag */], 0x2
00002D2A 6D16 blt +0x18 /* 00002D42 */
00002D2C 7000 moveq.l D0, 0x00
00002D2E 1038 0CB1 move.b D0, [0x00000CB1 /* MMUType */]
00002D32 0C00 0001 cmpi.b D0, 0x1
00002D36 670C beq +0xE /* 00002D44 */
00002D38 0C00 0003 cmpi.b D0, 0x3
00002D3C 6D04 blt +0x6 /* 00002D42 */
00002D3E 5340 subq.w D0, 1
00002D40 6002 bra +0x4 /* 00002D44 */
label00002D42:
00002D42 7000 moveq.l D0, 0x00
label00002D44:
00002D44 6000 FE60 bra -0x19E /* 00002BA6 */
00002D48 303C A89F move.w D0, 0xA89F
00002D4C A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00002D4E 2408 move.l D2, A0
00002D50 203C 0000 A88F move.l D0, 0xA88F
00002D56 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00002D58 2038 0108 move.l D0, [0x00000108 /* MemTop */]
00002D5C B488 cmp.l D2, A0
00002D5E 670A beq +0xC /* 00002D6A */
00002D60 598F subq.l A7, 4
00002D62 3F3C 0016 move.w -[A7], 0x16
00002D66 A88F syscall OSDispatch
00002D68 201F move.l D0, [A7]+
label00002D6A:
00002D6A 6000 FE3A bra -0x1C4 /* 00002BA6 */
00002D6E 343C 000C move.w D2, 0xC
00002D72 226F 0004 movea.l A1, [A7 + 0x4]
00002D76 206F 0008 movea.l A0, [A7 + 0x8]
00002D7A 4240 clr.w D0
00002D7C 4241 clr.w D1
00002D7E 1018 move.b D0, [A0]+
00002D80 1219 move.b D1, [A1]+
00002D82 2F48 0008 move.l [A7 + 0x8], A0
00002D86 2F49 0004 move.l [A7 + 0x4], A1
00002D8A 205F movea.l A0, [A7]+
00002D8C 3F00 move.w -[A7], D0
00002D8E 3F01 move.w -[A7], D1
00002D90 3F02 move.w -[A7], D2
00002D92 2F08 move.l -[A7], A0
00002D94 ADED syscall Pack6, auto_pop
00002D96 206F 0008 movea.l A0, [A7 + 0x8]
00002D9A 3F3C 0001 move.w -[A7], 0x1
00002D9E A9EE syscall Pack7/DecStr68K
00002DA0 206F 0004 movea.l A0, [A7 + 0x4]
00002DA4 2080 move.l [A0], D0
00002DA6 4EFA 000E jmp [PC + 0xE /* 00002DB6 */]
00002DAA 206F 0004 movea.l A0, [A7 + 0x4]
00002DAE 202F 0008 move.l D0, [A7 + 0x8]
00002DB2 4267 clr.w -[A7]
00002DB4 A9EE syscall Pack7/DecStr68K
label00002DB6:
00002DB6 205F movea.l A0, [A7]+
00002DB8 504F addq.w A7, 8
00002DBA 4ED0 jmp [A0]
00002DBC 2F17 move.l -[A7], [A7]
00002DBE 2F7C 0400 0C00 0004 move.l [A7 + 0x4], 0x4000C00
00002DC6 4EFA 008E jmp [PC + 0x8E /* 00002E56 */]
00002DCA 2F17 move.l -[A7], [A7]
00002DCC 2F7C 0800 0484 0004 move.l [A7 + 0x4], 0x8000484
00002DD4 4EFA 0080 jmp [PC + 0x80 /* 00002E56 */]
00002DD8 2F17 move.l -[A7], [A7]
00002DDA 2F7C 1000 0808 0004 move.l [A7 + 0x4], 0x10000808
00002DE2 4EFA 0072 jmp [PC + 0x72 /* 00002E56 */]
00002DE6 2F17 move.l -[A7], [A7]
00002DE8 2F7C 1800 040C 0004 move.l [A7 + 0x4], 0x1800040C
00002DF0 4EFA 0064 jmp [PC + 0x64 /* 00002E56 */]
00002DF4 2F17 move.l -[A7], [A7]
00002DF6 2F7C 2004 0480 0004 move.l [A7 + 0x4], 0x20040480
00002DFE 4EFA 0056 jmp [PC + 0x56 /* 00002E56 */]
00002E02 2F17 move.l -[A7], [A7]
00002E04 2F7C 5204 0498 0004 move.l [A7 + 0x4], 0x52040498
00002E0C 4EFA 0048 jmp [PC + 0x48 /* 00002E56 */]
00002E10 2F17 move.l -[A7], [A7]
00002E12 2F7C 6005 1480 0004 move.l [A7 + 0x4], 0x60051480
00002E1A 4EFA 003A jmp [PC + 0x3A /* 00002E56 */]
00002E1E 2F17 move.l -[A7], [A7]
00002E20 2F7C BA00 0000 0004 move.l [A7 + 0x4], 0xBA000000
00002E28 4EFA 002C jmp [PC + 0x2C /* 00002E56 */]
00002E2C 2F17 move.l -[A7], [A7]
00002E2E 2F7C C000 0200 0004 move.l [A7 + 0x4], 0xC0000200
00002E36 4EFA 001E jmp [PC + 0x1E /* 00002E56 */]
00002E3A 2F17 move.l -[A7], [A7]
00002E3C 2F7C C800 0000 0004 move.l [A7 + 0x4], 0xC8000000
00002E44 4EFA 0010 jmp [PC + 0x10 /* 00002E56 */]
00002E48 2F17 move.l -[A7], [A7]
00002E4A 2F7C D000 0000 0004 move.l [A7 + 0x4], 0xD0000000
00002E52 4EFA 0002 jmp [PC + 0x2 /* 00002E56 */]
fn00002E56:
00002E56 2F0B move.l -[A7], A3
00002E58 203C 0000 A89F move.l D0, 0xA89F
00002E5E A146 syscall GetTrapAddress, flags=1
00002E60 2648 movea.l A3, A0
00002E62 203C 0000 A8FD move.l D0, 0xA8FD
00002E68 A146 syscall GetTrapAddress, flags=1
00002E6A B7C8 cmpa.l A3, A0
00002E6C 6746 beq +0x48 /* 00002EB4 */
00002E6E 265F movea.l A3, [A7]+
00002E70 4E56 0000 link A6, 0
00002E74 41EE 0008 lea.l A0, [A6 + 0x8]
00002E78 7007 moveq.l D0, 0x07
00002E7A C02E 0008 and.b D0, [A6 + 0x8]
00002E7E D02E 000A add.b D0, [A6 + 0xA]
00002E82 5800 addq.b D0, 4
00002E84 9EC0 sub.w A7, D0
00002E86 224F movea.l A1, A7
00002E88 A02E syscall BlockMove/BlockMoveData
00002E8A A8FD syscall PrGlue
00002E8C 7200 moveq.l D1, 0x00
00002E8E 122E 000A move.b D1, [A6 + 0xA]
00002E92 7007 moveq.l D0, 0x07
00002E94 C02E 0008 and.b D0, [A6 + 0x8]
00002E98 6710 beq +0x12 /* 00002EAA */
00002E9A 204F movea.l A0, A7
00002E9C 43F6 100C lea.l A1, [A6 + D1.w + 0xC]
00002EA0 E248 lsr D0.w, 1
00002EA2 6002 bra +0x4 /* 00002EA6 */
label00002EA4:
00002EA4 32DF move.w [A1]+, [A7]+
label00002EA6:
00002EA6 51C8 FFFC dbf D0, -0x6 /* 00002EA4 */
label00002EAA:
00002EAA 4E5E unlink A6
00002EAC 205F movea.l A0, [A7]+
00002EAE DFC1 add.l A7, D1
00002EB0 584F addq.w A7, 4
00002EB2 4ED0 jmp [A0]
label00002EB4:
00002EB4 265F movea.l A3, [A7]+
00002EB6 4E56 0000 link A6, 0
00002EBA 48E7 0018 movem.l -[A7], A3,A4
00002EBE 7200 moveq.l D1, 0x00
00002EC0 122E 0008 move.b D1, [A6 + 0x8]
00002EC4 E609 lsr D1.b, 3
00002EC6 6718 beq +0x1A /* 00002EE0 */
00002EC8 4A2E 0008 tst.b [A6 + 0x8]
00002ECC 6B00 00C2 bmi +0xC4 /* 00002F90 */
00002ED0 7400 moveq.l D2, 0x00
00002ED2 142E 0009 move.b D2, [A6 + 0x9]
00002ED6 661E bne +0x20 /* 00002EF6 */
00002ED8 7403 moveq.l D2, 0x03
00002EDA C438 0946 and.b D2, [0x00000946 /* ChooserBits */]
00002EDE 6016 bra +0x18 /* 00002EF6 */
label00002EE0:
00002EE0 206E 0014 movea.l A0, [A6 + 0x14]
00002EE4 2050 movea.l A0, [A0]
00002EE6 7403 moveq.l D2, 0x03
00002EE8 C428 0044 and.b D2, [A0 + 0x44]
00002EEC 0238 00FC 0946 andi.b [0x00000946 /* ChooserBits */], 0xFC
00002EF2 8538 0946 or.b [0x00000946 /* ChooserBits */], D2
label00002EF6:
00002EF6 3678 0A5A movea.w A3, [0x00000A5A /* CurMap */]
00002EFA 42A7 clr.l -[A7]
00002EFC 2F3C 5044 4546 move.l -[A7], 0x50444546 /* 'PDEF' */
00002F02 3F02 move.w -[A7], D2
00002F04 A9A0 syscall GetResource
00002F06 201F move.l D0, [A7]+
00002F08 4A80 tst.l D0
00002F0A 664A bne +0x4C /* 00002F56 */
00002F0C 0C78 FFFF 0952 cmpi.w [0x00000952 /* PrRefNum */], 0xFFFF
00002F12 670C beq +0xE /* 00002F20 */
00002F14 3F38 0952 move.w -[A7], [0x00000952 /* PrRefNum */]
00002F18 A998 syscall UseResFile
00002F1A 4A78 0A60 tst.w [0x00000A60 /* ResErr */]
00002F1E 6716 beq +0x18 /* 00002F36 */
label00002F20:
00002F20 6100 01D0 bsr +0x1D2 /* 000030F2 */
00002F24 4A40 tst.w D0
00002F26 6708 beq +0xA /* 00002F30 */
00002F28 31C0 0944 move.w [0x00000944 /* PrintErr */], D0
00002F2C 6000 00B0 bra +0xB2 /* 00002FDE */
label00002F30:
00002F30 3F38 0952 move.w -[A7], [0x00000952 /* PrRefNum */]
00002F34 A998 syscall UseResFile
label00002F36:
00002F36 42A7 clr.l -[A7]
00002F38 2F3C 5044 4546 move.l -[A7], 0x50444546 /* 'PDEF' */
00002F3E 3F02 move.w -[A7], D2
00002F40 A9A0 syscall GetResource
00002F42 201F move.l D0, [A7]+
00002F44 4A80 tst.l D0
00002F46 660E bne +0x10 /* 00002F56 */
00002F48 3F0B move.w -[A7], A3
00002F4A A998 syscall UseResFile
00002F4C 31FC FF40 0944 move.w [0x00000944 /* PrintErr */], 0xFF40
00002F52 6000 008A bra +0x8C /* 00002FDE */
label00002F56:
00002F56 2840 movea.l A4, D0
00002F58 204C movea.l A0, A4
00002F5A A029 syscall HLock
00002F5C 3F0B move.w -[A7], A3
00002F5E A998 syscall UseResFile
00002F60 41EE 000C lea.l A0, [A6 + 0xC]
00002F64 7007 moveq.l D0, 0x07
00002F66 C02E 0008 and.b D0, [A6 + 0x8]
00002F6A D02E 000A add.b D0, [A6 + 0xA]
00002F6E 9EC0 sub.w A7, D0
00002F70 224F movea.l A1, A7
00002F72 A02E syscall BlockMove/BlockMoveData
00002F74 102E 000B move.b D0, [A6 + 0xB]
00002F78 0200 007F andi.b D0, 0x7F
00002F7C 2054 movea.l A0, [A4]
00002F7E 4EB0 0000 jsr [A0 + D0.w]
00002F82 102E 000B move.b D0, [A6 + 0xB]
00002F86 6A04 bpl +0x6 /* 00002F8C */
00002F88 204C movea.l A0, A4
00002F8A A02A syscall HUnlock
label00002F8C:
00002F8C 6000 011A bra +0x11C /* 000030A8 */
label00002F90:
00002F90 9EFC 0032 sub.w A7, 0x32 /* '2' */
00002F94 41FA 0194 lea.l A0, [PC + 0x194 /* 0000312A, value 0x72E5072, pstring ".Print " */]
00002F98 2F48 0012 move.l [A7 + 0x12], A0
00002F9C 3F7C FFFD 0018 move.w [A7 + 0x18], 0xFFFD
00002FA2 422F 001B clr.b [A7 + 0x1B]
00002FA6 204F movea.l A0, A7
00002FA8 7000 moveq.l D0, 0x00
00002FAA 0881 0004 bclr.b D1, 0x4
00002FAE D241 add.w D1, D1
00002FB0 323B 1006 move.w D1, [PC + D1.w + 0x6]
00002FB4 4EFB 1002 jmp [PC + D1.w + 0x2]
00002FB8 0068 006C 0070 ori.w [A0 + 0x70], 0x6C /* 'l' */
00002FBE 007A 008C 00A8 ori.w [PC + 0xA8 /* 00003068, value 0x5, cstring "" */], 0x8C
00002FC4 00BA 00DA 00E4 0030 ori.l [PC + 0x30 /* 00002FF6, value 0x66247200 'f$r\0', cstring "f$r" */], 0xDA00E4
00002FCC 0044 0020 ori.w D4, 0x20 /* ' ' */
00002FD0 0020 0020 ori.b -[A0], 0x20 /* ' ' */
00002FD4 0020 0020 ori.b -[A0], 0x20 /* ' ' */
00002FD8 31FC FFCE 0944 move.w [0x00000944 /* PrintErr */], 0xFFCE
label00002FDE:
00002FDE 7200 moveq.l D1, 0x00
00002FE0 122E 000A move.b D1, [A6 + 0xA]
00002FE4 6000 00E0 bra +0xE2 /* 000030C6 */
00002FE8 2F3C 8000 0000 move.l -[A7], 0x80000000
00002FEE 4EBA FE66 jsr [PC - 0x19A /* 00002E56 */]
00002FF2 3038 0944 move.w D0, [0x00000944 /* PrintErr */]
00002FF6 6624 bne +0x26 /* 0000301C */
00002FF8 7200 moveq.l D1, 0x00
00002FFA 6002 bra +0x4 /* 00002FFE */
00002FFC 7201 moveq.l D1, 0x01
label00002FFE:
00002FFE 6100 00F2 bsr +0xF4 /* 000030F2 */
00003002 4A40 tst.w D0
00003004 6616 bne +0x18 /* 0000301C */
00003006 3038 0952 move.w D0, [0x00000952 /* PrRefNum */]
0000300A 4A78 0A60 tst.w [0x00000A60 /* ResErr */]
0000300E 6608 bne +0xA /* 00003018 */
00003010 4A41 tst.w D1
00003012 6704 beq +0x6 /* 00003018 */
00003014 3F00 move.w -[A7], D0
00003016 A99A syscall CloseResFile
label00003018:
00003018 3038 0A60 move.w D0, [0x00000A60 /* ResErr */]
label0000301C:
0000301C 6000 0082 bra +0x84 /* 000030A0 */
00003020 A000 syscall Open/PBHOpen/HOpen
00003022 607C bra +0x7E /* 000030A0 */
00003024 A001 syscall Close
00003026 6078 bra +0x7A /* 000030A0 */
00003028 615A bsr +0x5C /* 00003084 */
0000302A 4FEF 002E lea.l A7, [A7 + 0x2E]
0000302E 2E88 move.l [A7], A0
00003030 6076 bra +0x78 /* 000030A8 */
00003032 6150 bsr +0x52 /* 00003084 */
00003034 2050 movea.l A0, [A0]
00003036 7000 moveq.l D0, 0x00
00003038 1028 0007 move.b D0, [A0 + 0x7]
0000303C 4FEF 0030 lea.l A7, [A7 + 0x30]
00003040 3E80 move.w [A7], D0
00003042 6064 bra +0x66 /* 000030A8 */
00003044 216E 000C 0024 move.l [A0 + 0x24], [A6 + 0xC]
0000304A 216E 0010 0020 move.l [A0 + 0x20], [A6 + 0x10]
00003050 216E 0014 001C move.l [A0 + 0x1C], [A6 + 0x14]
00003056 316E 0018 001A move.w [A0 + 0x1A], [A6 + 0x18]
0000305C A004 syscall Control
0000305E 6040 bra +0x42 /* 000030A0 */
00003060 6122 bsr +0x24 /* 00003084 */
00003062 2050 movea.l A0, [A0]
00003064 0828 0006 0005 btst.b [A0 + 0x5], 0x6
0000306A 6734 beq +0x36 /* 000030A0 */
0000306C 2050 movea.l A0, [A0]
0000306E A049 syscall HPurge
00003070 602E bra +0x30 /* 000030A0 */
00003072 6110 bsr +0x12 /* 00003084 */
00003074 2050 movea.l A0, [A0]
00003076 0828 0006 0005 btst.b [A0 + 0x5], 0x6
0000307C 6722 beq +0x24 /* 000030A0 */
0000307E 2050 movea.l A0, [A0]
00003080 A04A syscall HNoPurge
00003082 601C bra +0x1E /* 000030A0 */
fn00003084:
00003084 317C 0001 001A move.w [A0 + 0x1A], 0x1
0000308A A005 syscall Status
0000308C 2068 001C movea.l A0, [A0 + 0x1C]
00003090 4E75 rts
00003092 4FEF 0030 lea.l A7, [A7 + 0x30]
00003096 3EB8 0944 move.w [A7], [0x00000944 /* PrintErr */]
0000309A 600C bra +0xE /* 000030A8 */
0000309C 302E 000C move.w D0, [A6 + 0xC]
label000030A0:
000030A0 4FEF 0032 lea.l A7, [A7 + 0x32]
000030A4 31C0 0944 move.w [0x00000944 /* PrintErr */], D0
label000030A8:
000030A8 7200 moveq.l D1, 0x00
000030AA 122E 000A move.b D1, [A6 + 0xA]
000030AE 7007 moveq.l D0, 0x07
000030B0 C02E 0008 and.b D0, [A6 + 0x8]
000030B4 6710 beq +0x12 /* 000030C6 */
000030B6 204F movea.l A0, A7
000030B8 43F6 100C lea.l A1, [A6 + D1.w + 0xC]
000030BC E248 lsr D0.w, 1
000030BE 6002 bra +0x4 /* 000030C2 */
label000030C0:
000030C0 32DF move.w [A1]+, [A7]+
label000030C2:
000030C2 51C8 FFFC dbf D0, -0x6 /* 000030C0 */
label000030C6:
000030C6 4CDF 1800 movem.l A3,A4, [A7]+
000030CA 4E5E unlink A6
000030CC 205F movea.l A0, [A7]+
000030CE DFC1 add.l A7, D1
000030D0 584F addq.w A7, 4
000030D2 4ED0 jmp [A0]
fn000030D4:
000030D4 7000 moveq.l D0, 0x00
fn000030D6:
000030D6 9EFC 0040 sub.w A7, 0x40 /* '@' */
000030DA 204F movea.l A0, A7
000030DC 3140 0016 move.w [A0 + 0x16], D0
000030E0 42A8 0012 clr.l [A0 + 0x12]
000030E4 A015 syscall SetVol/PBHSetVol/HSetVol
000030E6 A014 syscall GetVol/PBHGetVol/HGetVol
000030E8 3028 0016 move.w D0, [A0 + 0x16]
000030EC 4FEF 0040 lea.l A7, [A7 + 0x40]
000030F0 4E75 rts
fn000030F2:
000030F2 594F subq.w A7, 4
000030F4 3F3C E000 move.w -[A7], 0xE000
000030F8 A9BA syscall GetString
000030FA 201F move.l D0, [A7]+
000030FC 6606 bne +0x8 /* 00003104 */
000030FE 303C FF40 move.w D0, 0xFF40
00003102 6024 bra +0x26 /* 00003128 */
label00003104:
00003104 2240 movea.l A1, D0
00003106 61CC bsr -0x32 /* 000030D4 */
00003108 4841 swap.w D1
0000310A 3200 move.w D1, D0
0000310C 554F subq.w A7, 2
0000310E 2049 movea.l A0, A1
00003110 A029 syscall HLock
00003112 2F11 move.l -[A7], [A1]
00003114 A997 syscall OpenResFile
00003116 31DF 0952 move.w [0x00000952 /* PrRefNum */], [A7]+
0000311A 2049 movea.l A0, A1
0000311C A02A syscall HUnlock
0000311E 3001 move.w D0, D1
00003120 4841 swap.w D1
00003122 61B2 bsr -0x4C /* 000030D6 */
00003124 3038 0A60 move.w D0, [0x00000A60 /* ResErr */]
label00003128:
00003128 4E75 rts
0000312A 072E 5072 btst [A6 + 0x5072], D3
0000312E 696E bvs +0x70 /* 0000319E */
00003130 7420 moveq.l D2, 0x20
fn00003132:
00003132 225F movea.l A1, [A7]+
00003134 201F move.l D0, [A7]+
00003136 0838 0006 028E btst.b [0x0000028E /* ROM85 */], 0x6
0000313C 6606 bne +0x8 /* 00003144 */
0000313E A055 syscall StripAddress
00003140 2E80 move.l [A7], D0
00003142 4ED1 jmp [A1]
label00003144:
00003144 C0B8 031A and.l D0, [0x0000031A /* MaskBC/MaskHandle/MaskPtr/Lo3Bytes */]
00003148 2E80 move.l [A7], D0
0000314A 4ED1 jmp [A1]
0000314C 2F00 move.l -[A7], D0
0000314E 2F01 move.l -[A7], D1
00003150 302F 0010 move.w D0, [A7 + 0x10]
00003154 C1EF 000E muls.w D0, [A7 + 0xE]
00003158 322F 000C move.w D1, [A7 + 0xC]
0000315C C3EF 0012 muls.w D1, [A7 + 0x12]
00003160 D041 add.w D0, D1
00003162 4840 swap.w D0
00003164 4240 clr.w D0
00003166 322F 0012 move.w D1, [A7 + 0x12]
0000316A C2EF 000E mulu.w D1, [A7 + 0xE]
0000316E D081 add.l D0, D1
00003170 2F40 0010 move.l [A7 + 0x10], D0
00003174 221F move.l D1, [A7]+
00003176 201F move.l D0, [A7]+
00003178 2F57 0004 move.l [A7 + 0x4], [A7]
0000317C 588F addq.l A7, 4
0000317E 4E75 rts
00003180 4E56 0000 link A6, 0
00003184 2F00 move.l -[A7], D0
00003186 2F01 move.l -[A7], D1
00003188 202F 0014 move.l D0, [A7 + 0x14]
0000318C 222F 0010 move.l D1, [A7 + 0x10]
00003190 4EBA 003A jsr [PC + 0x3A /* 000031CC */]
00003194 2F41 0014 move.l [A7 + 0x14], D1
00003198 221F move.l D1, [A7]+
0000319A 201F move.l D0, [A7]+
0000319C 4E5E unlink A6
label0000319E:
0000319E 2F57 0004 move.l [A7 + 0x4], [A7]
000031A2 588F addq.l A7, 4
000031A4 4E75 rts
000031A6 4E56 0000 link A6, 0
000031AA 2F00 move.l -[A7], D0
000031AC 2F01 move.l -[A7], D1
000031AE 202F 0014 move.l D0, [A7 + 0x14]
000031B2 222F 0010 move.l D1, [A7 + 0x10]
000031B6 4EBA 0014 jsr [PC + 0x14 /* 000031CC */]
000031BA 2F40 0014 move.l [A7 + 0x14], D0
000031BE 221F move.l D1, [A7]+
000031C0 201F move.l D0, [A7]+
000031C2 4E5E unlink A6
000031C4 2F57 0004 move.l [A7 + 0x4], [A7]
000031C8 588F addq.l A7, 4
000031CA 4E75 rts
fn000031CC:
000031CC 48E7 3E00 movem.l -[A7], D2,D3,D4,D5,D6
000031D0 2A00 move.l D5, D0
000031D2 6A02 bpl +0x4 /* 000031D6 */
000031D4 4480 neg.l D0
label000031D6:
000031D6 2C01 move.l D6, D1
000031D8 6A02 bpl +0x4 /* 000031DC */
000031DA 4481 neg.l D1
label000031DC:
000031DC 2401 move.l D2, D1
000031DE 4842 swap.w D2
000031E0 4A42 tst.w D2
000031E2 661C bne +0x1E /* 00003200 */
000031E4 3600 move.w D3, D0
000031E6 4240 clr.w D0
000031E8 4840 swap.w D0
000031EA 6704 beq +0x6 /* 000031F0 */
000031EC 80C1 divu.w D0, D1
000031EE 3400 move.w D2, D0
label000031F0:
000031F0 4842 swap.w D2
000031F2 3003 move.w D0, D3
000031F4 80C1 divu.w D0, D1
000031F6 3400 move.w D2, D0
000031F8 2202 move.l D1, D2
000031FA 4240 clr.w D0
000031FC 4840 swap.w D0
000031FE 6022 bra +0x24 /* 00003222 */
label00003200:
00003200 2400 move.l D2, D0
00003202 4240 clr.w D0
00003204 4840 swap.w D0
00003206 4842 swap.w D2
00003208 4242 clr.w D2
0000320A 2601 move.l D3, D1
0000320C 7200 moveq.l D1, 0x00
0000320E 780F moveq.l D4, 0x0F
label00003210:
00003210 D482 add.l D2, D2
00003212 D180 addx.l D0, D0
00003214 D281 add.l D1, D1
00003216 B083 cmp.l D0, D3
00003218 6D04 blt +0x6 /* 0000321E */
0000321A 9083 sub.l D0, D3
0000321C 5201 addq.b D1, 1
label0000321E:
0000321E 51CC FFF0 dbf D4, -0x12 /* 00003210 */
label00003222:
00003222 4A85 tst.l D5
00003224 6A02 bpl +0x4 /* 00003228 */
00003226 4480 neg.l D0
label00003228:
00003228 BB86 xor.l D6, D5
0000322A 6A02 bpl +0x4 /* 0000322E */
0000322C 4481 neg.l D1
label0000322E:
0000322E 4CDF 007C movem.l D2,D3,D4,D5,D6, [A7]+
00003232 4E75 rts
00003234 48E7 F8E0 movem.l -[A7], D0,D1,D2,D3,D4,A0,A1,A2
00003238 41EF 0024 lea.l A0, [A7 + 0x24]
0000323C 3010 move.w D0, [A0]
0000323E 4250 clr.w [A0]
00003240 3200 move.w D1, D0
00003242 E849 lsr D1.w, 4
00003244 3401 move.w D2, D1
00003246 5242 addq.w D2, 1
00003248 3602 move.w D3, D2
0000324A E34B lsl D3.w, 1
0000324C 224F movea.l A1, A7
0000324E 9EC3 sub.w A7, D3
00003250 244F movea.l A2, A7
00003252 383C 0012 move.w D4, 0x12
label00003256:
00003256 34D9 move.w [A2]+, [A1]+
00003258 5344 subq.w D4, 1
0000325A 66FA bne -0x4 /* 00003256 */
0000325C 204A movea.l A0, A2
label0000325E:
0000325E 425A clr.w [A2]+
00003260 5342 subq.w D2, 1
00003262 66FA bne -0x4 /* 0000325E */
00003264 30C3 move.w [A0]+, D3
00003266 4242 clr.w D2
00003268 0240 000F andi.w D0, 0xF
0000326C 01C2 .incomplete
0000326E 3082 move.w [A0], D2
00003270 4CDF 071F movem.l D0,D1,D2,D3,D4,A0,A1,A2, [A7]+
00003274 4E75 rts
00003276 42A7 clr.l -[A7]
00003278 48E7 F0C0 movem.l -[A7], D0,D1,D2,D3,A0,A1
0000327C 41EF 0020 lea.l A0, [A7 + 0x20]
00003280 3018 move.w D0, [A0]+
00003282 D0C0 add.w A0, D0
00003284 2248 movea.l A1, A0
00003286 3219 move.w D1, [A1]+
00003288 D2C1 add.w A1, D1
0000328A 3600 move.w D3, D0
0000328C B240 cmp.w D1, D0
0000328E 6C02 bge +0x4 /* 00003292 */
00003290 3601 move.w D3, D1
label00003292:
00003292 E24B lsr D3.w, 1
00003294 6004 bra +0x6 /* 0000329A */
label00003296:
00003296 3420 move.w D2, -[A0]
00003298 8561 or.w -[A1], D2
label0000329A:
0000329A 5343 subq.w D3, 1
0000329C 6AF8 bpl -0x6 /* 00003296 */
0000329E 9041 sub.w D0, D1
000032A0 6710 beq +0x12 /* 000032B2 */
000032A2 6D0C blt +0xE /* 000032B0 */
000032A4 D240 add.w D1, D0
000032A6 E248 lsr D0.w, 1
label000032A8:
000032A8 3320 move.w -[A1], -[A0]
000032AA 5340 subq.w D0, 1
000032AC 6EFA bgt -0x4 /* 000032A8 */
000032AE 6002 bra +0x4 /* 000032B2 */
label000032B0:
000032B0 D2C0 add.w A1, D0
label000032B2:
000032B2 3301 move.w -[A1], D1
000032B4 206F 001C movea.l A0, [A7 + 0x1C]
000032B8 2308 move.l -[A1], A0
000032BA 2F49 0018 move.l [A7 + 0x18], A1
000032BE 4CDF 030F movem.l D0,D1,D2,D3,A0,A1, [A7]+
000032C2 2E5F movea.l A7, [A7]+
000032C4 4E75 rts
000032C6 42A7 clr.l -[A7]
000032C8 48E7 F0C0 movem.l -[A7], D0,D1,D2,D3,A0,A1
000032CC 41EF 0020 lea.l A0, [A7 + 0x20]
000032D0 3018 move.w D0, [A0]+
000032D2 D0C0 add.w A0, D0
000032D4 2248 movea.l A1, A0
000032D6 3219 move.w D1, [A1]+
000032D8 D2C1 add.w A1, D1
000032DA 3600 move.w D3, D0
000032DC B240 cmp.w D1, D0
000032DE 6C02 bge +0x4 /* 000032E2 */
000032E0 3601 move.w D3, D1
label000032E2:
000032E2 E24B lsr D3.w, 1
000032E4 6006 bra +0x8 /* 000032EC */
label000032E6:
000032E6 3420 move.w D2, -[A0]
000032E8 4642 not.w D2
000032EA C561 and.w -[A1], D2
label000032EC:
000032EC 5343 subq.w D3, 1
000032EE 6AF6 bpl -0x8 /* 000032E6 */
000032F0 9041 sub.w D0, D1
000032F2 6E02 bgt +0x4 /* 000032F6 */
000032F4 D2C0 add.w A1, D0
label000032F6:
000032F6 3301 move.w -[A1], D1
000032F8 206F 001C movea.l A0, [A7 + 0x1C]
000032FC 2308 move.l -[A1], A0
000032FE 2F49 0018 move.l [A7 + 0x18], A1
00003302 4CDF 030F movem.l D0,D1,D2,D3,A0,A1, [A7]+
00003306 2E5F movea.l A7, [A7]+
00003308 4E75 rts
0000330A 48E7 F8E0 movem.l -[A7], D0,D1,D2,D3,D4,A0,A1,A2
0000330E 322F 0024 move.w D1, [A7 + 0x24]
00003312 302F 0026 move.w D0, [A7 + 0x26]
00003316 42AF 0024 clr.l [A7 + 0x24]
0000331A 41EF 0028 lea.l A0, [A7 + 0x28]
0000331E 4A40 tst.w D0
00003320 6A02 bpl +0x4 /* 00003324 */
00003322 4240 clr.w D0
label00003324:
00003324 B240 cmp.w D1, D0
00003326 6D48 blt +0x4A /* 00003370 */
00003328 3401 move.w D2, D1
0000332A E84A lsr D2.w, 4
0000332C 3602 move.w D3, D2
0000332E E34B lsl D3.w, 1
00003330 6716 beq +0x18 /* 00003348 */
00003332 224F movea.l A1, A7
00003334 9EC3 sub.w A7, D3
00003336 244F movea.l A2, A7
00003338 383C 0012 move.w D4, 0x12
label0000333C:
0000333C 34D9 move.w [A2]+, [A1]+
0000333E 5344 subq.w D4, 1
00003340 66FA bne -0x4 /* 0000333C */
label00003342:
00003342 425A clr.w [A2]+
00003344 5342 subq.w D2, 1
00003346 66FA bne -0x4 /* 00003342 */
label00003348:
00003348 5443 addq.w D3, 2
0000334A 3F43 0024 move.w [A7 + 0x24], D3
label0000334E:
0000334E 3400 move.w D2, D0
00003350 3602 move.w D3, D2
00003352 E84A lsr D2.w, 4
00003354 E34A lsl D2.w, 1
00003356 4442 neg.w D2
00003358 0243 000F andi.w D3, 0xF
0000335C 4244 clr.w D4
0000335E 07C4 .incomplete
00003360 8970 20FE or.w [A0 + D2.w - 0x2], D4
00003364 5240 addq.w D0, 1
00003366 B240 cmp.w D1, D0
00003368 6CE4 bge -0x1A /* 0000334E */
0000336A 4CDF 071F movem.l D0,D1,D2,D3,D4,A0,A1,A2, [A7]+
0000336E 4E75 rts
label00003370:
00003370 206F 0020 movea.l A0, [A7 + 0x20]
00003374 2F48 0022 move.l [A7 + 0x22], A0
00003378 4CDF 071F movem.l D0,D1,D2,D3,D4,A0,A1,A2, [A7]+
0000337C 4A5F tst.w [A7]+
0000337E 4E75 rts
00003380 9EFC 0100 sub.w A7, 0x100
00003384 48E7 C0C0 movem.l -[A7], D0,D1,A0,A1
00003388 302F 0114 move.w D0, [A7 + 0x114]
0000338C 322F 0116 move.w D1, [A7 + 0x116]
00003390 41EF 0118 lea.l A0, [A7 + 0x118]
00003394 226F 0110 movea.l A1, [A7 + 0x110]
00003398 9240 sub.w D1, D0
0000339A 6C08 bge +0xA /* 000033A4 */
label0000339C:
0000339C 4260 clr.w -[A0]
0000339E 5441 addq.w D1, 2
000033A0 6BFA bmi -0x4 /* 0000339C */
000033A2 6002 bra +0x4 /* 000033A6 */
label000033A4:
000033A4 D0C1 add.w A0, D1
label000033A6:
000033A6 2109 move.l -[A0], A1
000033A8 2F48 0010 move.l [A7 + 0x10], A0
000033AC 4CDF 0303 movem.l D0,D1,A0,A1, [A7]+
000033B0 2E5F movea.l A7, [A7]+
000033B2 4E75 rts
fn000033B4:
000033B4 48E7 E0E0 movem.l -[A7], D0,D1,D2,A0,A1,A2
000033B8 43EF 001C lea.l A1, [A7 + 0x1C]
000033BC 3019 move.w D0, [A1]+
000033BE 2059 movea.l A0, [A1]+
000033C0 3400 move.w D2, D0
000033C2 D442 add.w D2, D2
000033C4 D442 add.w D2, D2
000033C6 D2C2 add.w A1, D2
000033C8 4241 clr.w D1
000033CA 5248 addq.w A0, 1
000033CC 6020 bra +0x22 /* 000033EE */
label000033CE:
000033CE 2461 movea.l A2, -[A1]
000033D0 4242 clr.w D2
000033D2 141A move.b D2, [A2]+
000033D4 D242 add.w D1, D2
000033D6 0C41 00FF cmpi.w D1, 0xFF
000033DA 6F0E ble +0x10 /* 000033EA */
000033DC 0441 00FF subi.w D1, 0xFF
000033E0 9441 sub.w D2, D1
000033E2 323C 00FF move.w D1, 0xFF
000033E6 6002 bra +0x4 /* 000033EA */
label000033E8:
000033E8 10DA move.b [A0]+, [A2]+
label000033EA:
000033EA 51CA FFFC dbf D2, -0x6 /* 000033E8 */
label000033EE:
000033EE 51C8 FFDE dbf D0, -0x24 /* 000033CE */
000033F2 2061 movea.l A0, -[A1]
000033F4 1081 move.b [A0], D1
000033F6 3021 move.w D0, -[A1]
000033F8 2049 movea.l A0, A1
000033FA D040 add.w D0, D0
000033FC D040 add.w D0, D0
000033FE D0C0 add.w A0, D0
00003400 5448 addq.w A0, 2
00003402 20A1 move.l [A0], -[A1]
00003404 2288 move.l [A1], A0
00003406 4CDF 0707 movem.l D0,D1,D2,A0,A1,A2, [A7]+
0000340A 2E5F movea.l A7, [A7]+
0000340C 4E75 rts
0000340E 48E7 E0C0 movem.l -[A7], D0,D1,D2,A0,A1
00003412 43EF 0018 lea.l A1, [A7 + 0x18]
00003416 2059 movea.l A0, [A1]+
00003418 3019 move.w D0, [A1]+
0000341A 6F36 ble +0x38 /* 00003452 */
0000341C 0C40 00FF cmpi.w D0, 0xFF
00003420 6E30 bgt +0x32 /* 00003452 */
00003422 3219 move.w D1, [A1]+
00003424 6F2C ble +0x2E /* 00003452 */
00003426 0C41 00FF cmpi.w D1, 0xFF
0000342A 6E26 bgt +0x28 /* 00003452 */
0000342C 5341 subq.w D1, 1
0000342E 2251 movea.l A1, [A1]
00003430 4242 clr.w D2
00003432 1419 move.b D2, [A1]+
00003434 9441 sub.w D2, D1
00003436 9440 sub.w D2, D0
00003438 6D18 blt +0x1A /* 00003452 */
0000343A D2C1 add.w A1, D1
0000343C 10C0 move.b [A0]+, D0
0000343E 5340 subq.w D0, 1
label00003440:
00003440 10D9 move.b [A0]+, [A1]+
00003442 51C8 FFFC dbf D0, -0x6 /* 00003440 */
label00003446:
00003446 4CDF 0307 movem.l D0,D1,D2,A0,A1, [A7]+
0000344A 2F5F 0008 move.l [A7 + 0x8], [A7]+
0000344E 504F addq.w A7, 8
00003450 4E75 rts
label00003452:
00003452 4210 clr.b [A0]
00003454 60F0 bra -0xE /* 00003446 */
00003456 225F movea.l A1, [A7]+
00003458 301F move.w D0, [A7]+
0000345A 321F move.w D1, [A7]+
0000345C 205F movea.l A0, [A7]+
0000345E 6F0C ble +0xE /* 0000346C */
00003460 4A40 tst.w D0
00003462 6F08 ble +0xA /* 0000346C */
00003464 4242 clr.w D2
00003466 1410 move.b D2, [A0]
00003468 B441 cmp.w D2, D1
0000346A 6C02 bge +0x4 /* 0000346E */
label0000346C:
0000346C 4ED1 jmp [A1]
label0000346E:
0000346E 9441 sub.w D2, D1
00003470 9440 sub.w D2, D0
00003472 6C06 bge +0x8 /* 0000347A */
00003474 5341 subq.w D1, 1
00003476 1081 move.b [A0], D1
00003478 4ED1 jmp [A1]
label0000347A:
0000347A 2F09 move.l -[A7], A1
0000347C 9110 sub.b [A0], D0
0000347E D0C1 add.w A0, D1
00003480 2248 movea.l A1, A0
00003482 D2C0 add.w A1, D0
label00003484:
00003484 10D9 move.b [A0]+, [A1]+
00003486 51CA FFFC dbf D2, -0x6 /* 00003484 */
0000348A 4E75 rts
0000348C 221F move.l D1, [A7]+
0000348E 301F move.w D0, [A7]+
00003490 225F movea.l A1, [A7]+
00003492 205F movea.l A0, [A7]+
00003494 5340 subq.w D0, 1
00003496 6D08 blt +0xA /* 000034A0 */
00003498 4242 clr.w D2
0000349A 1411 move.b D2, [A1]
0000349C B440 cmp.w D2, D0
0000349E 6C04 bge +0x6 /* 000034A4 */
label000034A0:
000034A0 2041 movea.l A0, D1
000034A2 4ED0 jmp [A0]
label000034A4:
000034A4 2F01 move.l -[A7], D1
000034A6 2F0A move.l -[A7], A2
000034A8 3F03 move.w -[A7], D3
000034AA 4241 clr.w D1
000034AC 1218 move.b D1, [A0]+
000034AE 3601 move.w D3, D1
000034B0 D642 add.w D3, D2
000034B2 12C3 move.b [A1]+, D3
000034B4 2449 movea.l A2, A1
000034B6 D4C3 add.w A2, D3
000034B8 D2C2 add.w A1, D2
000034BA 9440 sub.w D2, D0
000034BC 6002 bra +0x4 /* 000034C0 */
label000034BE:
000034BE 1521 move.b -[A2], -[A1]
label000034C0:
000034C0 51CA FFFC dbf D2, -0x6 /* 000034BE */
000034C4 6002 bra +0x4 /* 000034C8 */
label000034C6:
000034C6 12D8 move.b [A1]+, [A0]+
label000034C8:
000034C8 51C9 FFFC dbf D1, -0x6 /* 000034C6 */
000034CC 361F move.w D3, [A7]+
000034CE 245F movea.l A2, [A7]+
000034D0 4E75 rts
000034D2 48E7 C0C0 movem.l -[A7], D0,D1,A0,A1
000034D6 7201 moveq.l D1, 0x01
000034D8 6006 bra +0x8 /* 000034E0 */
000034DA 48E7 C0C0 movem.l -[A7], D0,D1,A0,A1
000034DE 4241 clr.w D1
label000034E0:
000034E0 206F 0018 movea.l A0, [A7 + 0x18]
000034E4 226F 0014 movea.l A1, [A7 + 0x14]
000034E8 4240 clr.w D0
000034EA 1010 move.b D0, [A0]
label000034EC:
000034EC B308 cmpm.b [A1]+, [A0]+
000034EE 56C8 FFFC dbne D0, -0x6 /* 000034EC */
000034F2 6604 bne +0x6 /* 000034F8 */
000034F4 0A41 0001 xori.w D1, 0x1
label000034F8:
000034F8 1F41 001A move.b [A7 + 0x1A], D1
000034FC 2F6F 0010 0016 move.l [A7 + 0x16], [A7 + 0x10]
00003502 4CDF 0303 movem.l D0,D1,A0,A1, [A7]+
00003506 5C4F addq.w A7, 6
00003508 4E75 rts
0000350A 4CD7 0301 movem.l D0,A0,A1, [A7]
0000350E 2F00 move.l -[A7], D0
00003510 486F 0010 pea.l [A7 + 0x10]
00003514 48E7 00C0 movem.l -[A7], A0,A1
00003518 7003 moveq.l D0, 0x03
label0000351A:
0000351A 3F00 move.w -[A7], D0
0000351C A9EE syscall Pack7/DecStr68K
0000351E 2057 movea.l A0, [A7]
00003520 DEFC 0014 add.w A7, 0x14
00003524 4ED0 jmp [A0]
00003526 4CEF 0303 0004 movem.l D0,D1,A0,A1, [A7 + 0x4]
0000352C 48E7 C0C0 movem.l -[A7], D0,D1,A0,A1
00003530 7002 moveq.l D0, 0x02
00003532 60E6 bra -0x18 /* 0000351A */
00003534 4CEF 0303 0004 movem.l D0,D1,A0,A1, [A7 + 0x4]
0000353A 48E7 C0C0 movem.l -[A7], D0,D1,A0,A1
0000353E 7004 moveq.l D0, 0x04
00003540 60D8 bra -0x26 /* 0000351A */
00003542 4CDF 0301 movem.l D0,A0,A1, [A7]+
00003546 4857 pea.l [A7]
00003548 48E7 00C0 movem.l -[A7], A0,A1
0000354C 3F3C 000B move.w -[A7], 0xB
00003550 A9EB syscall Pack4/FP68K
00003552 588F addq.l A7, 4
00003554 2040 movea.l A0, D0
00003556 4ED0 jmp [A0]
00003558 205F movea.l A0, [A7]+
0000355A 241F move.l D2, [A7]+
0000355C 2217 move.l D1, [A7]
0000355E 48E7 6000 movem.l -[A7], D1,D2
00003562 3F3C 0009 move.w -[A7], 0x9 /* '\t' */
00003566 A9EB syscall Pack4/FP68K
00003568 4ED0 jmp [A0]
0000356A 205F movea.l A0, [A7]+
0000356C 486F 0004 pea.l [A7 + 0x4]
00003570 3F3C 2810 move.w -[A7], 0x2810
00003574 A9EB syscall Pack4/FP68K
00003576 4ED0 jmp [A0]
00003578 205F movea.l A0, [A7]+
0000357A 2F2F 0004 move.l -[A7], [A7 + 0x4]
0000357E 3F3C 000E move.w -[A7], 0xE
00003582 A9EB syscall Pack4/FP68K
00003584 4ED0 jmp [A0]
00003586 0000 1928 ori.b D0, 0x28 /* '(' */
0000358A 0001 0000 ori.b D1, 0x0
0000358E 0000 0014 ori.b D0, 0x14
00003592 0000 0034 ori.b D0, 0x34 /* '4' */
00003596 0000 0000 ori.b D0, 0x0
0000359A 0389 bclr A1, D1
0000359C 8048 or.w D0, A0
0000359E E7E0 rol .w -[A0]
000035A0 C02F 3C21 and.b D0, [A7 + 0x3C21]
000035A4 4EB9 234C DF03 jsr [0x234CDF03]
000035AA 074E bchg A6, D3
000035AC F922 .extension 0x922 <<F/4-5/4>> // unimplemented
000035AE 2F17 move.l -[A7], [A7]
000035B0 2F7C 0003 0504 4EF9 move.l [A7 + 0x4EF9], 0x30504
000035B8 1000 move.b D0, D0
000035BA 0000 0000 ori.b D0, 0x0
000035BE 358A 6D70 .incomplete
000035C2 7764 moveq.l D3, 0x64